Nmap List of Commands
-sL
List scan β list targets without scanning
Host Discovery
-sn
Ping scan β host discovery only
Port Scanning
-sT
TCP connect scan β complete three-way handshake
-sS
TCP SYN β only first step of the three-way handshake
-sU
UDP Scan
-F
Fast mode β scans the 100 most common ports
-p[range]
Specifies a range of port numbers β -p-
scans all the ports
-Pn
Treat all hosts as online β scan hosts that appear to be down
Service Detection
-O
OS detection
-sV
Service version detection
-A
OS detection, version detection, and other additions
Timing
-T<0-5>
Timing template β paranoid (0), sneaky (1), polite (2), normal (3), aggressive (4), and insane (5)
--min-parallelism <numprobes>
and --max-parallelism <numprobes>
Minimum and maximum number of parallel probes
--min-rate <number>
and --max-rate <number>
Minimum and maximum rate (packets/second)
--host-timeout
Maximum amount of time to wait for a target host
Real-time output
-v
Verbosity level β for example, -vv
and -v4
-d
Debugging level β for example -d
and -d9
Report
-oN <filename>
Normal output
-oX <filename>
XML output
-oG <filename>
grep
-able output
-oA <basename>
Output in all major formats
Last updated