targets-asn
脚本使用类型:
prerule
脚本所属分类:
discovery, external, safe
脚本下载地址: http://nmap.org/svn/scripts/targets-asn.nse
Produces a list of IP prefixes for a given routing AS number (ASN).
This script uses a whois server database operated by the Shadowserver Foundation. We thank them for granting us permission to use this in Nmap.
Output is in CIDR notation.
http://www.shadowserver.org/wiki/pmwiki.php/Services/IP-BGP
The whois port to use. Default: 43.
The whois server to use. Default: asn.shadowserver.org.
The ASN to search.
执行格式
nmap --script targets-asn --script-args targets-asn.asn=32
53/udp open domain udp-response | targets-asn: | 32 | 128.12.0.0/16 |_ 171.64.0.0/14
Author: John Bond
License: Simplified (2-clause) BSD license--See http://nmap.org/svn/docs/licenses/BSD-simplified