Which NMAP command combination would let a tester scan every TCP port from a class C network that is blocking ICMP with fingerprinting and service detection?
A. NMAP -PN -A -O -sS 192.168.2.0/24
B. NMAP -P0 -A -O -p1-65535 192.168.0/24
C. NMAP -P0 -A -sT -p0-65535 192.168.0/16
D. NMAP -PN -O -sS -p 1-1024 192.168.0/8
EC-Council Certified Ethical Hacker v11Free dumps for 312-50v11 in Printable PDF format.High quality PDF and software. VALID exam to help you pass. |
Answer should be “A”, pn stands for without pinging.
B would be corrrect.
Refer here: https://linux.die.net/man/1/nmap for -Pn switch
-Pn was -P0. and -PN in old nmap version.
But by default nmap scan scans limited ports
Question explicitly asked all ports.
Makes B correct.