articles:general:computing:linux:nmap

NMAP

NMAP is a command that is used to identify servers/computers/devices on the network

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

to check for 1000 ports

nmap -n 192.168.0.1

to check for 100 ports

nmap -Fn 192.168.0.1
nmap -p 80 -n 192.168.0.1
  • Last modified: 2022/11/21 14:50