Port scanning using Nmap

Nmap or Network Mapper is a tool in kali linux that specially for port scanning. With this tool,  we can see the active host, the open port, the operating system that used by the host and others scanning features.  In this case, I am trying to scan pentest.id as a target.

First I am trying to get the IP address of the target shown in the picture below.

host pentest.id

And then I am using nmap -O to detect the OS version that is used and also the open ports as well as the service. In the picture below, some ports that are opened are port 53, port 80,  port 443, port 8080 and port 8443.

nmap -O pentest.id or nmap -O 104.28.30.3

When we include -sV in nmap scanning, it will show the versions of the open ports as well.

nmap -sV 104.28.30.3 -A

Leave a Reply

Your email address will not be published. Required fields are marked *