Nma Flashcards
‘nmap 192.168.1.1’
Scans a single IP
‘nmap 192.168.1.1 192.168.2.1’
Scans specified IPs
‘nmap 192.168.1.1-254’
Scans the range
‘nmap scanme.nmap.org’
Scans the scanme.nmap.org domain
‘nmap 192.168.1.0/24’
Scans using the CIDR notation
‘nmap -iL targets.txt’
Scans targets from the targets.txt file
-iL switch is ‘Input List’
‘nmap -iR 100’
Scans 100 random targets
-iR switch chooses a certain number of random targets
‘nmap –exclude 192.168.1.1’
Excludes listed hosts
‘nmap 192.168.1.1 -sS’
TCP SYN port scan (Default)
‘nmap 192.168.1.1 -sT’
TCP connect port scan
‘nmap 192.168.1.1 -sU’
UDP Port Scan
‘nmap 192.168.1.1 -sA’
TCP ACK Port Scan
‘nmap 192.168.1.1 -sW’
TCP Window port scan
‘nmap 192.168.1.1 -sM’
TCP Maimon Port Scan
‘nmap 192.168.1.1 -p 21’
Port scan for port 21