diff --git a/web/index.py b/web/index.py index 959a46b..aee1453 100755 --- a/web/index.py +++ b/web/index.py @@ -6,8 +6,8 @@ GPLv3 - 2013 by psy (epsylon@riseup.net) """ from xml.dom.minidom import parseString import xml.etree.ElementTree as ET + # extract data from a xml file -# try: f = open('data.xml', 'r') f2 = open('data.xml', 'r') xml = ET.parse(f) @@ -50,7 +50,7 @@ for counter in range(0, last_hop+1): unique_country_code_list = set(country_code_list) -x = open('testmap.html','w') + # HTML + JS container output = """ @@ -88,10 +88,9 @@ output = """
Border Check (BC) allows you to see all the servers you visit while you browse to a specific website.
-As one surfs the net, data packets are sent from the user's computer to the target server. These data packets go on a journey hopping from server to server, potentially crossing multiple countries, until the packets reach the desired website. In each of the countries that are passed different laws and practices can apply to the data, influencing whether or not authorities can inspect, store or modify that data.
-In realtime BC lets you know which countries you surf through as you browse the web. Additionally BC will illustrate this process on a world map and (where available) provide you with contextualizing information on that country's laws and practices regarding your data.
-Currently supporting the following browsers on OSX and Unix systems:
Firefox, Chromium, Chrome, Safari
Border Check allows you to retrace your path across the internet's infrastructure, it will map you all the servers you pass while you browse to a specific website.
+ As you surf the net, data packets are sent from your computer to the target server. These data packets go on a journey hopping from server to server, potentially crossing multiple countries and networks, until the packets reach the desired website. In each of the countries different laws and practices can apply to the data, influencing whether or not authorities can inspect, store or modify that data. +Hop no:"+hop_list[index]+"
Server name:
"+server_name_list[index]+"
Network owner:
"+asn_list[index]+"