Categories: discovery, external, safe
Tries to identify the physical location of an IP address using a Geolocation Maxmind database file (available from http://www.maxmind.com/app/ip-location). This script supports queries using all Maxmind databases that are supported by their API including the commercial ones.
string indicates which file to use as a Maxmind database
unittest.runSee the documentation for the unittest library.
nmap --script ip-geolocation-maxmind <target> [--script-args ip-geolocation.maxmind_db=<filename>]
| ip-geolocation-maxmind: | 126.96.36.199 (scanme.nmap.org) | coordinates (lat,lon): 39.4899,-74.4773 |_ city: Absecon, Philadelphia, PA, United States
Author: Gorjan Petrovski
License: Same as Nmap--See http://nmap.org/book/man-legal.html