- Official Post
What it does | Command | Details |
|---|---|---|
Host Discovery | nmap -sn target | Disables port scanning and performs |
Port Scanning | nmap -p port_range target | Scans specified ports or |
Service Version Detection | nmap -sV target | Detects version of services |
Operating System Detection | nmap -O target | Identifies the operating system |
Aggressive Scan | nmap -A target | Performs OS detection, version detection |
UDP Scan | nmap -sU -p port_range target | Scans specified UDP ports on target |
TCP Connect Scan | nmap -sT target | Performs a TCP connect scan |
SYN Scan | nmap -sS target | Performs a stealth SYN scan to identify |
Firewall Evasion | nmap -T"0-5" target | Adjusts timing templates to evade |
Scan from File | nmap -iL input_file target | Reads target hosts from a file and |
Scan All Ports | nmap -p target | Scans all 65, 535 ports on |
Service Enumeration | nmap --script script_name target | Uses Nmap Scripting Engine (NES) |
Scan Specific Ports | nmap -p port1,port2 target | Scans specific ports on the target |