dns-ip6-arpa-scan
脚本使用类型:
prerule
脚本所属分类:
intrusive, discovery
脚本下载地址: http://nmap.org/svn/scripts/dns-ip6-arpa-scan.nse
Performs a quick reverse DNS lookup of an IPv6 network using a technique which analyzes DNS server response codes to dramatically reduce the number of queries needed to enumerate large networks.
The technique essentially works by adding an octet to a given IPv6 prefix and resolving it. If the added octet is correct, the server will return NOERROR, if not a NXDOMAIN result is received.
The technique is described in detail on Peter's blog: http://7bits.nl/blog/2012/03/26/finding-v6-hosts-by-efficiently-mapping-ip6-arpa
the ip6 prefix to scan
the ip6 mask to start scanning from
执行格式
nmap --script dns-ip6-arpa-scan --script-args='prefix=2001:0DB8,mask=48'
Pre-scan script results: | dns-ip6-arpa-scan: | ip ptr | 2001:0DB8:0:0:0:0:0:2 resolver1.example.com |_2001:0DB8:0:0:0:0:0:3 resolver2.example.com
Author: Patrik Karlsson
License: VER007 整理 http://www.ver007.com