Basic NMAP Commands Flashcards
How do you conduct a basic NMAP scan of 8.8.8.8?
nmap 8.8.8.8
What nmap command should you use to scan port 80 of a target?
nmap -p <Port#> <Target> (Ex: nmap -p 80 10.10.1.50)</Target>
What command allows you to conduct a basic ping scan of a subnet?
nmap -sp <Target> (Ex: 192.168.20.0/24)</Target>
What command do you use to scan a port range of a target?
nmap -p <Port> <Target> (Ex: nmap -p 1-65535</Target></Port>
What command can you use to scan multiple IP address?
nmap <Target 1> <Target 2> (Ex: nmap 10.10.1.50 192.168.1.60)
You need to conduct a basic scan of a small subnet range, what command would you use?
nmap X.X.X.X-X (Ex: nmap 10.10.1.5-15)
What command can you use to scan a targets OS and Services?
nmap -A X.X.X.X (Ex: nmap -A 10.10.1.5)
How do you detect a targets services in NMAP?
nmap -sV X.X.X.X (Ex: nmap -sV 10.10.10.5)
How do you run a TCP scan in NMAP?
nmap -sT X.X.X.X (Ex: nmap -sT 192.168.1.88)
How do you run a UDP scan in NMAP?
nmap -sU X.X.X.X (Ex: nmap -sU 192.168.40.11)
How do you conduct a TCP SYN(Stealth) scan?
nmap -sS X.X.X.X (Ex: nmap -sS 192.168.3.78)
What command do you use to scan for the targets OS?
nmap 192.168.1.22 -O