GAQM
CPEH-001 · Question #332
Which command lets a tester enumerate alive systems in a class C network via ICMP using native Windows tools?
The correct answer is D. for /L %V in (1 1 254) do PING -n 1 192.168.2.%V | FIND /I "Reply". See the full explanation below for the reasoning.
Question
Which command lets a tester enumerate alive systems in a class C network via ICMP using native Windows tools?
Options
- Aping 192.168.2.
- Bping 192.168.2.255
- Cfor %V in (1 1 255) do PING 192.168.2.%V
- Dfor /L %V in (1 1 254) do PING -n 1 192.168.2.%V | FIND /I "Reply"
How the community answered
(41 responses)- A10% (4)
- B5% (2)
- C2% (1)
- D83% (34)
Community Discussion
No community discussion yet for this question.