Port Scanning and Discovery
I'm knocking on every door
Nmap
nmap 192.168.1.1 # Scans 192.168.1.1 with top 100 ports
sudo nmap 192.168.1.1 # Can perform stealth scans
nmap 10.0.0.1 -p- # Scans all TCP ports on 10.0.0.1 with verbose output
nmap 10.0.0.1 -p1-99 # Scans only TCP ports 1-99
nmap 10.0.0.1 -pU:53,U:110,T20-445 # Scans UDP ports 53 + 110, then TCP 20 thru 445
nmap 10.0.0.1 -iL targets.txt # Scans all of the hosts in the targets.txt filesudo nmap 10.0.0.1 -vv -A # Scans top 100 ports, attempt OS Detection, Versions, and Tracert, very verboselocate *.nse # Find all nmap scripting files on the host
nmap 10.0.0.1 -sC # Run default scripts
nmap --script-updatedb # Update the script databaseScan Types
Probing Options
Timing Options
Masscan
Netcat
Tcpdump
Gobuster
DNS
Directory
S3 Buckets
EyeWitness
Last updated