This is an old revision of the document!
Table of Contents
Nmap
Nmap (Network Mapper) is a command-line port scanner. It identifies which services are running on a networked computer. This is useful for discovering and identifying points of attack in potential targets. Its ability to scan entire networks is very useful when combined with Whois information about organizations you may be targeting.
Download Nmap
Nmap is available for Linux, Windows, BSD & MacOS. Download options for all platforms can be found here. Some quick install instructions are below:
Debian/Ubuntu
$ sudo apt install nmap
Fedora/Red Hat
$ sudo dnf install nmap
Windows
Read the Windows install instructions.
MacOS
Read the MacOS install instructions.
Example Commands
Basic usage (see which ports are open/filtered/closed):
nmap 192.168.1.150
Identify services running on one computer:
nmap -sV 192.168.1.150
Identify services running on one computer, which does not respond to pings:
nmap -sV -PN 192.168.1.150
Check to see if specific ports are open on one computer:
nmap -p T:21-25,80,443 192.168.1.150
Check to see if specific ports are open on a range of computers:
nmap -p T:21-25,80,443 192.168.1.150-254
Zenmap
There is a GUI version of Nmap called Zenmap, but you honestly do not really need it.
More Info
Find this page online at: https://bestpoint.institute/arms/nmap