Certified Ethical Hacker (CEH v11) — Question 231
You want to do an ICMP scan on a remote computer using hping2. What is the proper syntax?
Answer options
- A. hping2 -1 host.domain.com
- B. hping2 host.domain.com
- C. hping2 -l host.domain.com
- D. hping2 --set-ICMP host.domain.com
Correct answer: A
Explanation
The correct syntax for performing an ICMP scan with hping2 is 'hping2 -1 host.domain.com', which uses the '-1' flag to specify ICMP mode. The other options do not include the necessary flag for ICMP scanning, making them incorrect for this specific task.