NMAP
NMAP is a command that is used to identify servers/computers/devices on the network
1.0 List down all connected devices/computers
nmap -sn -n 192.168.0.*
- the above scan will skip the port scan and will list down only the connected machines (-sn)
- the next option is -n which skips resolving the IP to name(DNS), this option will speed up the scan
- an option to replace * with number ranges such as 0-255
2.0 list down open ports for a particular device
to check for 1000 ports
nmap -n 192.168.0.1
to check for 100 ports
nmap -Fn 192.168.0.1
3.0 To check further details about a particular port
nmap -p 80 -n 192.168.0.1