Which command demonstrates scanning a range of ports using the -8 option?

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 command demonstrates scanning a range of ports using the -8 option?

Explanation:
Scanning a range of ports with hping3 is done by enabling port-range scan mode with -8 and providing a range like 50-60. In this command, you’re targeting the host 10.0.0.25 and performing a SYN scan (-S) across all ports from 50 through 60. The verbose flag (-V) just makes the output more informative so you can see what's being sent and what responses come back. This setup checks multiple ports quickly to see which are responsive, without testing each port individually. Other examples shown are not scanning a range: one uses ICMP (-1) which isn’t a TCP port scan; another tests a single port (80) with a different flag combination; and the last sends a SYN to a single port on another host with a timestamp option. The combination that uses -8 with a port range is the one that demonstrates scanning a range of ports.

Scanning a range of ports with hping3 is done by enabling port-range scan mode with -8 and providing a range like 50-60. In this command, you’re targeting the host 10.0.0.25 and performing a SYN scan (-S) across all ports from 50 through 60. The verbose flag (-V) just makes the output more informative so you can see what's being sent and what responses come back. This setup checks multiple ports quickly to see which are responsive, without testing each port individually.

Other examples shown are not scanning a range: one uses ICMP (-1) which isn’t a TCP port scan; another tests a single port (80) with a different flag combination; and the last sends a SYN to a single port on another host with a timestamp option. The combination that uses -8 with a port range is the one that demonstrates scanning a range of ports.

Subscribe

Get the latest from Examzify

You can unsubscribe at any time. Read our privacy policy