Nmap Scanning
Stealth Scan (Faster)
sudo nmap -sS 192.168.1.2Nmap Connect Scan
nmap -sT 192.168.1.2UDP Scan
sudo nmap -sU 192.168.1.2Merge TCP + UDP Scan
sudo nmap -sU -sS 192.168.1.2for ip in $(seq 1 254); do echo 192.168.1.$ip; done > ipsScan for alive hosts
$ nmap -sn $ip/24
$ nmap -vvv -sn $ip/24Scan specific IP range
Auto Recon
Initial Scan TCP
Full Scan TCP
Full Scan UDP
Normal Scan
Scan specific machine
Scan common port
Fast scanning
Quick TCP Scan
Quick UDP Scan
Full TCP Scan
Port knock
Scan deeply
Maximum scan delay
Maximum Retries
Scan for specific port
Scan for unused IP addresses and store in text file
Other option
UDP scan
Top ports
Scan targets from a text file
Onetwopunch.sh
Grepable Nmap output:

Guess OS of machine:
Get HTTP headers
Nmap Services Mapping
Powershell One-Liner:
References
Last updated