A penetration tester wants to quickly discover all the live hosts on the 192.168.0.0/24 network. Which command can do the ping sweep using the nmap tool?
- nmap 192.168.1.0/24 -open
- nmap -sP 192.168.0.0/24
- nmap -sV 192.168.0.255
- nmap -sn 192.168.0.0/24
- nmap -p 1-65535 localhost
Explanation: The command nmap -sn 192.168.0.0/24 is used to do a ping sweep of the 192.168.0.0/24 network for active hosts. This basic host discovery scan can be performed to determine what devices on a network are live. Such a scan for host discovery of an entire subnet is sometimes called a ping sweep.
Exam with this question: Ethical Hacker: Course Final Exam Answers
Please login or Register to submit your answer