EC-Council
312-50V10 · Question #628
312-50V10 Question #628: Real Exam Question with Answer & Explanation
The correct answer is B. -O. The -O flag enables OS detection in nmap by analyzing TCP/IP stack fingerprints of the target.
Scanning Networks
Question
Which of the following command line switch would you use for OS detection in Nmap?
Options
- A-D
- B-O
- C-P
- D-X
Explanation
The -O flag enables OS detection in nmap by analyzing TCP/IP stack fingerprints of the target.
Common mistakes.
- A. -D enables decoy scanning, which inserts fake source IP addresses alongside the real scanner's IP in probe packets to obscure the attacker's true origin.
- C. -P controls ping and host discovery methods (for example -Pn disables ping to treat all hosts as up) and has no role in OS detection.
- D. -X is not a recognized or valid nmap command line switch and performs no function in nmap.
Concept tested. Nmap OS detection command line switch usage
Reference. https://nmap.org/book/man-os-detection.html
Topics
#nmap#OS detection flag#command-line options#active fingerprinting
Community Discussion
No community discussion yet for this question.