User Tools

Site Tools

arms:nmap

This is an old revision of the document!


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

MacOS

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

arms/nmap.1717744980.txt.gz ยท Last modified: 2024/08/06 05:53 (external edit)

Find this page online at: https://bestpoint.institute/arms/nmap