← Back In the print window choose “Save as PDF” as the printer.

Nmap cheatsheet

Make a map of the devices and services on your own network

UnixDroid

How it works

  1. Discover — Find which of your devices are switched on.
  2. Check ports — See which doors are open on a device.
  3. Identify services — Learn which program and version answers.
  4. 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
Scan only devices you own or have written permission to test. On office or college networks always ask the administrator first. Practise only on your own computer, your own network or a lab that gives you permission. Using security tools on systems that are not yours can be a crime (in India under the IT Act).