targets-sniffer
脚本使用类型:
prerule
脚本所属分类:
broadcast, discovery, safe
脚本下载地址: http://nmap.org/svn/scripts/targets-sniffer.nse
Sniffs the local network for a configurable amount of time (10 seconds
by default) and prints discovered addresses. If the
newtargets
script argument is set, discovered addresses
are added to the scan queue.
Requires root privileges. Either the targets-sniffer.iface
script
argument or -e
Nmap option to define which interface to use.
The interface to use for sniffing.
The amount of time to listen for packets. Default 10s
.
If true, add discovered targets to the scan queue.
执行格式
nmap -sL --script=targets-sniffer --script-args=newtargets,targets-sniffer.timeout=5s,targets-sniffer.iface=eth0
Pre-scan script results: | targets-sniffer: | 192.168.0.1 | 192.168.0.3 | 192.168.0.35 |_192.168.0.100
Author: Nick Nikolaou
License: VER007 整理 http://www.ver007.com