nmap commands

Scan network for responsive IPs

nmap -sS -O 10.199.42.0/23 | tee nmap.log

Check if port is open

nmap -P0 -p1521 oracle.com

Scan UDP

nmap -sU -p <port> <target>

Share