🔥 3-day streak
CompTIA PenTest+ (PT0-003)104 / 175
Question 104 of 175

During an internal engagement, you have a file named hosts.txt containing one IP address per line. You need a quick Python script to identify which hosts respond to a single ICMP echo request so you can prioritize them for deeper enumeration. Which approach BEST accomplishes this while producing a clean list of only the responsive hosts?

Reviewed for accuracy · Report an issueNext question