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
nmap --script ip-geolocation-maxmind <target> [--script-args ip-geolocation.maxmind_db=<filename>]
| ip-geolocation-maxmind: | 18.104.22.168 (scanme.nmap.org) | coordinates (lat,lon): 39.4899,-74.4773 |_ city: Absecon, Philadelphia, PA, United States
License: Same as Nmap--See https://nmap.org/book/man-legal.html