Which command line includes both a TCP connect scan and operating system detection?

Prepare for the Nmap and ZenMap Tests. Access flashcards and multiple choice questions, with hints and explanations for each question. Ensure success in your exam!

Multiple Choice

Which command line includes both a TCP connect scan and operating system detection?

Explanation:
Combining a TCP connect scan with OS fingerprinting. A TCP connect scan uses -sT, which completes the TCP handshake with the target, and OS detection uses -O to fingerprint the remote host’s operating system. The line that explicitly combines both is nmap -sT -O ip, giving a connect-based scan plus dedicated OS detection. Other options miss this exact pairing: one uses a different scan type like -sS (SYN stealth) and thus isn’t a connect scan, while another option adds broader features with -A (which includes OS detection but also version/script capabilities), or uses -O with -sS, which again lacks a connect scan.

Combining a TCP connect scan with OS fingerprinting. A TCP connect scan uses -sT, which completes the TCP handshake with the target, and OS detection uses -O to fingerprint the remote host’s operating system. The line that explicitly combines both is nmap -sT -O ip, giving a connect-based scan plus dedicated OS detection. Other options miss this exact pairing: one uses a different scan type like -sS (SYN stealth) and thus isn’t a connect scan, while another option adds broader features with -A (which includes OS detection but also version/script capabilities), or uses -O with -sS, which again lacks a connect scan.

Subscribe

Get the latest from Passetra

You can unsubscribe at any time. Read our privacy policy