How do i use nmap to scan hosts on a network segment?
saolasosme last edited by saolasosme
Nmap can use a number of methods to scan for hosts.
The option used is:
-sn: Ping Scan - disable port scan
The description says Ping Scan, here Ping means nmaps various ping methods, some are dependent on if the privileges available. For more on this see the nmap documentation: https://nmap.org/book/man-host-discovery.html
$ nmap -sn <target>
Where the target can be a CIDR address.
© Lightnetics 2019