Nmap essential tips

-ATo enable OS and version detection, script scanning
-T4For faster execution,prohibits the dynamic scan delay from exceeding 10 ms for TCP ports
-VTo see which engines are supported
-sSScan using TCP SYN scan
-sUScan UDP ports
-snPing Scan - disable port scan
-pScan specified ports
-g/--source-portUse given port number
-PS/PA/PU/PY[portlist]TCP SYN/ACK, UDP or SCTP discovery to given ports
-PE/PP/PMICMP echo, timestamp, and netmask request discovery probes


Intense Scan
nmap -T4 -A -v

Regular Scan

Quick scan
nmap -T4 -F

Intense Scan plus UDP 
nmap -sS -sU -T4 -A -v

Intense Scan with all TCP port
nmap -p 1-65535 -T4 -A -v

Comprehensive scan [Slow]
nmap -sS -sU -T4 -A -v -PE -PP -PS80,443 -PA3389 -PU40125 -PY -g 53 --script "default or (discovery and safe)"

Complete Reference https://nmap.org/book/man.html

Popular posts from this blog

Basic Linux Tips