Script traceroute-geolocation

Script types: hostrule
Categories: safe, external, discovery
Download: https://svn.nmap.org/nmap/scripts/traceroute-geolocation.nse

Script Summary

Lists the geographic locations of each hop in a traceroute and optionally saves the results to a KML file, plottable on Google earth and maps.

Script Arguments

traceroute-geolocation.kmlfile

full path and name of file to write KML data to. The KML file can be used in Google earth or maps to plot the traceroute data.

slaxml.debug

See the documentation for the slaxml library.

http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

See the documentation for the http library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

nmap --traceroute --script traceroute-geolocation

Script Output

| traceroute-geolocation:
|   hop  RTT     ADDRESS                                               GEOLOCATION
|   1    ...
|   2    ...
|   3    ...
|   4    ...
|   5    16.76   e4-0.barleymow.stk.router.colt.net (194.68.128.104)   62,15 Sweden (Unknown)
|   6    48.61   te0-0-2-0-crs1.FRA.router.colt.net (212.74.65.49)     54,-2 United Kingdom (Unknown)
|   7    57.16   87.241.37.146                                         42,12 Italy (Unknown)
|   8    157.85  212.162.64.146                                        42,12 Italy (Unknown)
|   9    ...
|_  10   ...

Requires


Author:

  • Patrik Karlsson

License: Same as Nmap--See https://nmap.org/book/man-legal.html