Exam4Training

Which of the following commands generated the results above and will transform them into a list of active hosts for further analysis?

A penetration tester conducted a discovery scan that generated the following:

Which of the following commands generated the results above and will transform them into a list of active hosts for further analysis?
A . nmap CoG list.txt 192.168.0.1-254 , sort
B. nmap Csn 192.168.0.1-254 , grep “Nmap scan” | awk ‘{print S5}’
C. nmap C-open 192.168.0.1-254, uniq
D. nmap Co 192.168.0.1-254, cut Cf 2

Answer: B

Explanation:

the NMAP flag (-sn) which is for host discovery and returns that kind of NMAP output. And the AWK command selects column 5 ({print $5}) which obviously carries the returned IP of the host in the NMAP output.

Latest PT0-002 Dumps Valid Version with 110 Q&As

Latest And Valid Q&A | Instant Download | Once Fail, Full Refund

Exit mobile version