File ip-geolocation-geobytes
Script types:
hostrule
Categories:
discovery, external, safe
Download: http://nmap.org/svn/scripts/ip-geolocation-geobytes.nse
User Summary
Tries to identify the physical location of an IP address using the Geobytes geolocation web service (http://www.geobytes.com/iplocator.htm). The limit of lookups using this service is 20 requests per hour. Once the limit is reached, an nmap.registry["ip-geolocation-geobytes"].blocked boolean is set so no further requests are made during a scan.
Script Arguments
smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername
See the documentation for the smbauth library.http.max-cache-size, http.max-pipeline, http.pipeline, http.useragent
See the documentation for the http library.Example Usage
nmap --script ip-geolocation-geobytes <target>
Script Output
| ip-geolocation-geobytes: | latitude: 43.667 | longitude: -79.417 | city: Toronto | region: Ontario |_ country: Canada
Requires
Author: Gorjan Petrovski
License: Same as Nmap--See http://nmap.org/book/man-legal.html


