名字
nmap – 网络探测工具和安全/端口扫描器
简介
nmap [ <Scan Type> ...] [ <Options> ] { <target specification> }
范例
nmap -T4 -A -v host
nmap -sS -sU -T4 -A -v host
nmap -p 1-65535 -T4 -A -v host
nmap -T4 -A -v -Pn host
nmap -sn host
nmap -T4 -F host
nmap -sV -T4 -O -F --version-light host
nmap -sn --traceroute host
nmap -sS -sU -T4 -A -v -PE -PP -PS80,443 -PA3389 -PU40125 -PY -g 53 --script "default or (discovery and safe)" host
nmap -sn -v 192.168.0.0/16 10.0.0.0/8
nmap -v -iR 10000 -Pn -p 80
-
-A
: Enable OS detection, version detection, script scanning, and traceroute
启用OS检测、版本检测、脚本扫描和跟踪路由(前辈说 -A 这叫万能开关,我猜可能是探测的比较全面才这么叫的) -
-T<0-5>
: Set timing template (higher is faster)
(设置时间模板)模板名称有paranoid (0)、sneaky (1)、polite (2)、normal(3)、 aggressive (4)和ins