Certified Ethical Hacker (CEH v11) — Question 37
You have successfully comprised a server having an IP address of 10.10.0.5. You would like to enumerate all machines in the same network quickly.
What is the best Nmap command you will use?
Answer options
- A. nmap -T4 -q 10.10.0.0/24
- B. nmap -T4 -F 10.10.0.0/24
- C. nmap -T4 -r 10.10.1.0/24
- D. nmap -T4 -O 10.10.0.0/24
Correct answer: B
Explanation
The correct answer is B because the '-F' option in Nmap performs a fast scan which is suitable for quickly identifying active devices on the network. Option A is invalid as '-q' does not apply to host discovery. Option C targets a different subnet, which is not relevant for enumerating machines on the same network. Option D uses '-O' for OS detection, which is unnecessary for simply listing devices.