Which hping3 command performs a SYN scan on ports 50 to 60?

Prepare for the Certified Ethical Hacker Version 11 Exam with a comprehensive test featuring flashcards and multiple choice questions, each accompanied by hints and explanations to ensure a thorough understanding. Ace your ethical hacking exam with confidence!

Multiple Choice

Which hping3 command performs a SYN scan on ports 50 to 60?

Explanation:
A SYN scan works by sending TCP packets with the SYN flag set to each target port and watching for open-port responses. To scan a range, you need to enable the SYN flag and specify the port range you want to probe, along with the target IP (and optional verbose output to see what happens). The command that does this includes the SYN flag (-S) and the port range 50-60, applied to the destination IP address, with verbose output for feedback. That combination is exactly what a SYN scan over ports 50 through 60 requires: it initiates half-open TCP connections across those ports to identify which are open. The other options either use different TCP flags (not a SYN scan), target a single port, or switch to a different protocol (ICMP or UDP), so they don’t perform a SYN scan across ports 50-60.

A SYN scan works by sending TCP packets with the SYN flag set to each target port and watching for open-port responses. To scan a range, you need to enable the SYN flag and specify the port range you want to probe, along with the target IP (and optional verbose output to see what happens).

The command that does this includes the SYN flag (-S) and the port range 50-60, applied to the destination IP address, with verbose output for feedback. That combination is exactly what a SYN scan over ports 50 through 60 requires: it initiates half-open TCP connections across those ports to identify which are open.

The other options either use different TCP flags (not a SYN scan), target a single port, or switch to a different protocol (ICMP or UDP), so they don’t perform a SYN scan across ports 50-60.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy