What does the -O option do in Nmap?

Study for the Nmap/ZenMap Switches Test. Prepare with flashcards and multiple choice questions, each question provides hints and explanations. Get ready for your exam!

Multiple Choice

What does the -O option do in Nmap?

Explanation:
OS fingerprinting is what the -O option enables in Nmap. It works by sending a set of probes and analyzing how the target’s TCP/IP stack replies—looking at factors like TTL, window size, and IP identification—to infer the operating system. This is separate from banner grabbing or service version detection. Banner grabbing and version info come from other features, while -O specifically focuses on guessing the OS. If you want a broader scan that also includes versions and scripts, you’d use the aggressive option (-A). Note that OS detection can require root privileges on some systems and may be affected by firewalls or network middleboxes.

OS fingerprinting is what the -O option enables in Nmap. It works by sending a set of probes and analyzing how the target’s TCP/IP stack replies—looking at factors like TTL, window size, and IP identification—to infer the operating system. This is separate from banner grabbing or service version detection. Banner grabbing and version info come from other features, while -O specifically focuses on guessing the OS. If you want a broader scan that also includes versions and scripts, you’d use the aggressive option (-A). Note that OS detection can require root privileges on some systems and may be affected by firewalls or network middleboxes.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy