NMAP Switches Flashcards
What is this NMAP switch: -sV
Detect version of service running on port –> scans every open port.
-Pn
nmap 192.168.1.1-5 -Pn
No ping.
This option skips the host discovery stage altogether.
Disabling host discovery with -Pn causes Nmap to attempt the requested scanning functions against every target IP address specified
What is this NMAP switch: -T0 -T1 -T2 -T3…T5
timing & performance. T0 = paranoid, T1 = sneeky (slow), T2 = polite, T3 = normal, T4 = aggressive, T5 = insane
-T0
nmap 192.168.1.1 -T0
Paranoid (0) Intrusion Detection
System evasion
-T1
nmap 192.168.1.1 -T1
Sneaky (1) Intrusion Detection System
evasion
-T2
nmap 192.168.1.1 -T2
Polite (2) slows down the scan to use
less bandwidth and use less target
machine resources
-T3
nmap 192.168.1.1 -T3
Normal (3) which is default speed
-T4
nmap 192.168.1.1 -T4
Aggressive (4) speeds scans; assumes
you are on a reasonably fast and
reliable network
-T5
nmap 192.168.1.1 -T5
Insane (5) speeds scan; assumes you
are on an extraordinarily fast network
What is this NMAP switch: -sU
scan UDP
What is this NMAP switch: -O
Remote OS detection using TCP/IP
stack fingerprinting
What is this NMAP switch: -sS
TCP Syn port scan (aka stealth scan)
What is this NMAP switch: -sn
ping scan only
-sn tells Nmap not to do a port scan after host discovery, and only print out the available hosts that responded to the host discovery probes. This is often known as a “ping scan”
What is this NMAP switch: -Pn
nmap 192.168.1.1-5 -Pn
port scan only - no ping
What is this NMAP switch: -O
O/S scan
What is this NMAP switch: -iL
scan each server in file
What is this NMAP switch: -sL
list servers, but does not scan them
What is this NMAP switch: -oX
save output in XML file
What is this NMAP switch: -oG
save scan in greppable format
What is this NMAP switch: -sn
PING only
nmap 192.168.1.1/24 -sn
Disable port scanning. Host discovery only (ping).
What is this NMAP switch: -sT
-sT
nmap 192.168.1.1 -sT
Full 3-way TCP connect port scan