Home page logo
/
Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News

File ip-geolocation-ipinfodb

Script types: hostrule
Categories: discovery, external, safe
Download: http://nmap.org/svn/scripts/ip-geolocation-ipinfodb.nse

User 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

Script Arguments

ip-geolocation-ipinfodb.apikey

A sting specifying the api-key which the user wants to use to access this service

http.max-cache-size, http.max-pipeline, http.pipeline, 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:
| 74.207.244.221 (scanme.nmap.org)
|   coordinates (lat,lon): 37.5384,-121.99
|_  city: FREMONT, CALIFORNIA, UNITED STATES

Requires


Author: Gorjan Petrovski

License: Same as Nmap--See http://nmap.org/book/man-legal.html

Nmap Site Navigation

Intro Reference Guide Book Install Guide
Download Changelog Zenmap GUI Docs
Bug Reports OS Detection Propaganda Related Projects
In the Movies In the News
[ Nmap | Sec Tools | Mailing Lists | Site News | About/Contact | Advertising | Privacy ]