Skillset can help you prepare! Sign up for your free Skillset account and take the first steps towards your certification.
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?
Nmap -A -sS -p 1-65535 192.168.2.0/24
Nmap -P0 -A -O -p 1-65535 192.168.0.0/24
Nmap -sI -Pn -p 0-65535 192.168.0.0/16
Nmap -Pn -O -sS -p 1-1024 192.168.0/8
The -p 1-65535 option indicates scanning of all ports. -A option is used to fingerprint the OS on the host as well as the services being used. NMAP automatically pings which will result in a failed attempt to probe a system that is in a network that is blocking ICMP if you don't tell it to not Ping. EDIT: Without the option "-Pn" (treat hosts as online, skipping host discovery), the accepted answer will not work in a network that is blocking ICMP (-A -sS -p [...]). "-Pn" should be added to the accepted answer.
Train with Skillset and pass your certification exam. Faster. Guaranteed.
Study thousands of practice questions that organized by skills and ranked by difficulty.
Create a tailored training plan based on the knowledge you already possess.
Know when you’re ready for the high-stakes exam. Have the confidence that you will pass on your first attempt.