312-50V10 · Question #603
Which command line switch would be used in NMAP to perform operating system detection?
The correct answer is D. -O. In Nmap, the -O flag enables OS detection by analyzing TCP/IP stack fingerprinting responses from the target. '-OS' is not a valid Nmap switch. '-sO' performs an IP protocol scan (not OS detection). '-sP' (now deprecated in favor of -sn) is a ping scan used for host discovery. On
Question
Which command line switch would be used in NMAP to perform operating system detection?
Options
- A-OS
- B-sO
- C-sP
- D-O
How the community answered
(37 responses)- A3% (1)
- B5% (2)
- C3% (1)
- D89% (33)
Explanation
In Nmap, the -O flag enables OS detection by analyzing TCP/IP stack fingerprinting responses from the target. '-OS' is not a valid Nmap switch. '-sO' performs an IP protocol scan (not OS detection). '-sP' (now deprecated in favor of -sn) is a ping scan used for host discovery. Only '-O' correctly triggers OS fingerprinting in Nmap.
Topics
Community Discussion
No community discussion yet for this question.