HOME>>>>>>>>>

File resolveall

脚本使用类型: prerule
脚本所属分类: safe, discovery
脚本下载地址: 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: VER007 整理 http://www.ver007.com