Scanning
Mapping a network
Ping sweep
fping -a -g 192.168.1.0/24 2>/dev/null
nmap -sn 192.168.1.0/24OS fingerprinting
# OS Detection, no ping
nmap -Pn -O <target(s)>Port Scanning
# TCP SYN scan or stealth scan
nmap -Ss <target>
# Scripts and version detection
nmap -sC -sV <target>
# All ports, scripts, version
nmap -sC -sV -p- <target>
# UDP and Version check
nmap -sU -sV <target>
# Most used scan
# OS, version, scripts, traceroute, and all ports
nmap -A -p- <target>Last updated