HOME>>>>>>>>>

File ip-geolocation-ipinfodb

脚本使用类型: hostrule
脚本所属分类: discovery, external, safe
脚本下载地址: 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

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-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: VER007 整理 http://www.ver007.com