traceme is a python script works similar to traditional traceroute utility, additionaly it will it give the Visual traceroute path in Google Earth by using the latitude and longitude value of the ip address from ip-api.com. Then create a KML(Keyhole Markup Language) file for expressing geographic annotation and visualization within Internet-based, two-dimensional maps and three-dimensional Earth.
3 Process involves in the scripts are:
- traceroute: Get the intermediate IP Address
- getlocation: Get the Geolocation of the IP Address
- createKML file : Get a Keyhole Markup Language suitable to view in Google maps app or web or mobile
- Python 2.7
- Python pip
- scapy
- requests
- ast
- simplekml
- Clone (or download the ZIP) to your computer.
- Install the requirements package using
sudo -H pip install requirements.txt
- Run as Root, Scapy requires Root Privilege to Inject Packet into Network
- Run the program using hostname or IP Address as Input
# git clone https://github.com/prabhudeva17/traceme.git
# cd traceme
# sudo ./traceme.py -i wwww.google.com
- Using the command line run:
python traceme.py -i <ip-address>
or./traceme.py -i <ip-address>
- Wait for the program to finish to traceroute.
- Wait for the program to create a KML tracemap file
- Open the KML file with Google Earth or import to Google Maps.
Want to contribute? Great! Open your favorite Terminal and fix bug if their any. Still in development more plugin will added in future
MIT
Free Software!