Nmap Flags Flashcards
1
Q
nmap 192.168.1.1
A
Scan a single IP
2
Q
nmap 192.168.1.1 192.168.2.1
A
Scan specific IPs
3
Q
nmap 192.168.1.1-254
A
Scan an IP range
4
Q
nmap scanme.nmap.org
A
Scan a domain
5
Q
nmap 192.168.1.0/24
A
Scan using CIDR notation
6
Q
nmap -iL targets.txt
A
Scan targets from a file
“-iL”
7
Q
nmap -iR 100
A
Scan 100 random hosts
“-iR”
8
Q
nmap -exclude 192.168.1.1
A
Exclude listed hosts
“-exclude”
9
Q
nmap 192.168.1.1 -sS
A
TCP SYN port scan (Default)
“-sS”
10
Q
nmap 192.168.1.1 -sT
A
TCP connect port scan (Default without root privilege)
“-sT”
11
Q
nmap 192.168.1.1 -sU
A
UDP port scan
-sU
12
Q
nmap 192.168.1.1 -sA
A
TCP ACK port scan
-sA
13
Q
nmap 192.168.1.1 -sW
A
TCP Window port scan
-sW
14
Q
nmap 192.168.1.1 -sM
A
TCP Maimon port scan
-sM