Script ip-geolocation-ipinfodb
Script types:
hostrule
Categories:
discovery, external, safe
Download: https://svn.nmap.org/nmap/scripts/ip-geolocation-ipinfodb.nse
Script Summary
Tries to identify the physical location of an IP address using the IPInfoDB geolocation web service (http://ipinfodb.com/ip_location_api.php).
There is no limit on requests to this service. However, the API key
needs to be obtained through free registration for this service:
http://ipinfodb.com/login.php
See also:
- ip-geolocation-geoplugin.nse
- ip-geolocation-map-bing.nse
- ip-geolocation-map-google.nse
- ip-geolocation-map-kml.nse
- ip-geolocation-maxmind.nse
Script Arguments
- ip-geolocation-ipinfodb.apikey
A sting specifying the api-key which the user wants to use to access this service
- 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 --script ip-geolocation-ipinfodb <target> --script-args ip-geolocation-ipinfodb.apikey=<API_key>
Script Output
| ip-geolocation-ipinfodb: | coordinates: 37.5384, -121.99 |_location: FREMONT, CALIFORNIA, UNITED STATES
Requires
Author:
License: Same as Nmap--See https://nmap.org/book/man-legal.html