Nmap cheatsheet
Make a map of the devices and services on your own network
How it works
- Discover — Find which of your devices are switched on.
- Check ports — See which doors are open on a device.
- Identify services — Learn which program and version answers.
- Fix — Close or update what you do not need.
First steps
nmap --version- Check the installation
nmap localhost- See open ports on your own computer
nmap -sV localhost- Show service versions on your own computer
nmap -sn 192.168.1.0/24- List devices on your own home network
man nmap- Read the manual