Nmap is a network scanner created by Gordon Lyon. Nmap is used to discover hosts and services on a computer network by sending packets and analyzing the responses. Nmap provides a number of features for probing computer networks, including host discovery and service and operating system detection.
Nmap is a built-in tool installed in Kali Linux. You can also install this tool in Ubuntu, by type – ‘sudo apt install nmap or sudo apt install net-tools ’.
Let’s see how you can use Nmap in kali Linux…
|Note: we will perform all the network scanning over our website and we provides permission to our views to perform same tasks. For other networks without permission from authority will be illegal.|
For doing operation over a server, we first need to know itsip-address. For that we can use ‘ping’ command. We will get ip-address like this 188.8.131.52
Syntax – ping www.yoursite.com
Command 1: ports & stealth scan. Stealth scanning is performed by sending an SYN packet and analyzing the response. If SYN/ACK is received, it means the port is open, and you can open a TCP connection.
- Syntax: sudo nmap -sS –Pn ip-address -vv
Command 2: scans operating system version
Syntax: sudo nmap –O ip-address
Command 3: scans whole system
Syntax: sudo nmap –A -T4 ip-address