Certified Ethical Hacker (CEH v10) — Question 80
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-i host.domain.com
- C. hping2 ""set-ICMP host.domain.com
- D. hping2 host.domain.com
Correct answer: A
Explanation
The correct syntax for an ICMP scan with hping2 is option A, which uses the '-1' flag to specify ICMP mode. Option B is incorrect because it has a typo in the flag format, option C is improperly structured and does not represent valid syntax, and option D does not specify the necessary flag for an ICMP scan.