0x01 Basic Info
Official site:
nmap.org/
manual:
nmap.org/man/zh/
nmap.org/book/man.ht…
svn.nmap.org/nmap/docs/n…
Installation in macOS:
brew install nmap
0x02 Summary
nmap [ <Scan Type> ...] [ <Options> ] { <target specification> }
0x01 Scan Type | 扫描类型
Scan Techniques | 扫描手法
-sS -sT -sA -sU -sP -sR
-sW -sM -sN -sF -sX
-sY -sZ -sO
Host Discovery | 主机发现
-sL -sn -Pn
-PS/PA/PU[Port_List]
-n -R --traceroute
Port Specification and Scan Order | 端口指定 & 扫描顺序
-p <port_ranges> --exclude-ports <port_ranges>
--top-ports <number> --port-ratio <ratio>
-F -r
Service/Version Detection | 服务/版本探测
-sV --version-intensity <level:0-9> --version-trace
OS Detection | 操作系统探测
-O --osscan-limit/guess
0x02 Options | 选项
Output | 输出
-oN -oX -oS -oG <file>
-oA <base_name>
-v -d
--open --reason --packet-trace
Miscellaneous | 杂项
-6 -A -V
Timing and Performance | 计时 & 表示
-T<0-5> --host-timeout <time> --max-retries <tries>
Firewall/IDS Evasion and Spoofing | 防火墙&网络入侵检测系统绕过&欺骗
-f --mtu <value>
0x03 Target Specification | 目标指定
hostname ip_address network
-iL <input_file_name> -iR <host_num>
--exclude <host1,2,3...> --excludefile <file>
0x03 A Mind Map for Manual
nmap -h