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: | 22.214.171.124 (scanme.nmap.org) | coordinates (lat,lon): 39.4899,-74.4773 |_ city: Absecon, Philadelphia, PA, United States
Author: Gorjan Petrovski
License: Same as Nmap--See https://nmap.org/book/man-legal.html