~/nmap
Jun 11, 2021
-sS
– TCP SYN scan (stealth scan):
nmap -sS 192.168.1.1
-O
– OS detection:
nmap -O 192.168.1.1
-p
– Specify ports to scan:
nmap -p 22,80 192.168.1.1
-A
– Aggressive scan (includes OS detection, version detection, script scanning):
nmap -A 192.168.1.1
-sV
– Service version detection:
nmap -sV 192.168.1.1
References