nmap commands
15 commands, each with a one-line explanation. Click a command to copy it, or its title for details.
Commands 15 shown
-
nmap 192.168.1.1Basic port scan of a single host
-
nmap -sS 192.168.1.1Stealth SYN scan (requires root)
-
nmap -p- 192.168.1.1Scan all 65535 ports
-
nmap -sV 192.168.1.1Probe open ports to determine service/version info
-
nmap -O 192.168.1.1Enable OS detection (requires root)
-
nmap -A 192.168.1.1Enables OS detection, version detection, script scanning, and traceroute
-
nmap 192.168.1.0/24Scan all hosts in a /24 subnet
-
nmap -sn 192.168.1.0/24Discover live hosts without port scan
-
nmap -p 22,80,443,8080 192.168.1.1Scan only specified ports
-
nmap -p 1-1024 192.168.1.1Scan ports in a given range
-
nmap -sU 192.168.1.1Scan UDP ports (slower, requires root)
-
nmap -sC 192.168.1.1Run default NSE scripts against target
-
nmap --script http-title 192.168.1.1Run a named Nmap scripting engine script
-
nmap -oX scan.xml 192.168.1.1Save scan results in XML format
-
nmap -F 192.168.1.1Scan only the 100 most common ports
no commands match — try a different search