File resolveall
Script types:
prerule
Categories:
safe, discovery
Download: http://nmap.org/svn/scripts/resolveall.nse
User Summary
Resolves hostnames and adds every address (IPv4 or IPv6, depending on Nmap mode) to Nmap's target list. This differs from Nmap's normal host resolution process, which only scans the first address (A or AAAA record) returned for each host name.
Script Arguments
resolveall.hosts
Table of hosts to resolve
max-newtargets, newtargets
See the documentation for the target library.Example Usage
nmap --script=resolveall --script-args=newtargets,resolveall.hosts={<host1>, ...} ...
Script Output
Pre-scan script results: | resolveall: | Host 'google.com' resolves to: | 74.125.39.106 | 74.125.39.147 | 74.125.39.99 | 74.125.39.103 | 74.125.39.105 | 74.125.39.104 |_ Successfully added 6 new targets
Requires
Author: Kris Katterjohn
License: Same as Nmap--See http://nmap.org/book/man-legal.html




