Skip to content

traceme shows a visual traceroute path using python in Google Maps

License

Notifications You must be signed in to change notification settings

prabhudeva17/traceme

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

22 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

traceme

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

Requirements

  • Python 2.7
  • Python pip
  • scapy
  • requests
  • ast
  • simplekml

Installation

  1. Clone (or download the ZIP) to your computer.
  2. Install the requirements package using sudo -H pip install requirements.txt
  3. Run as Root, Scapy requires Root Privilege to Inject Packet into Network
  4. 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

How To Use

  1. Using the command line run: python traceme.py -i <ip-address> or ./traceme.py -i <ip-address>
  2. Wait for the program to finish to traceroute.
  3. Wait for the program to create a KML tracemap file
  4. Open the KML file with Google Earth or import to Google Maps.

DEMO TIME!!

0vlx97

traceme

screenshot-1

tracemap

screenshot-2

Development

Want to contribute? Great! Open your favorite Terminal and fix bug if their any. Still in development more plugin will added in future

License

MIT

Free Software!

About

traceme shows a visual traceroute path using python in Google Maps

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages