What is Nmap?
Nmap is the abbreviation for Network Mapper. Nmap is an open source programme released under the General Public License. The tool helps network administrators and security researchers to discover, monitor, and troubleshoot TCP/IP systems. It is a Network Scanning Utility created by Gordon "Fyodor" Lyon
and is actively managed by a community of volunteers.
Installation
Installing Nmap is not too dificult. Read the article given below for error free installation of Nmap on your computer.
Basic Scanning Techniques
Executing Nmap with no command line options will perform a basic scan on the specified target. A target can either be a IP Address or a Host Name.
nmap 192.168.10.0
Scan Open Ports With Nmap |
The resulting scan shows the status of ports detected on the specified target. The table below describes the output fields displayed by the scan
PORT | STATE | SERVICE |
---|---|---|
Port Number/protocol | Status of the port | Type of service running on the port |
Scanning Multiple Targerts
nmap 192.168.10.0 192.168.10.1 192.168.10.2
Scanning an IP Range
A range of IP Addresses can also be used for target specification as demonstrated in the example below.nmap 192.168.10.0-100
Scanning an entire Subnet
Nmap can also be used for scanning an entire Subnet using CIDR (Classless Inter-Domain Routing) notation.
nmap 192.168.10.0/24
Scanning a List of targets
We can scan a large number of systems to scan, we can enter the IP addresses or host names in a text file and use that files as input for Nmap on the terminal.
nmap -iL list.txt