Port Scan using nmap
From Notes_Wiki
<yambe:breadcrumb self="Port Scan using nmap">Server VA-PT using Kali|Server VA-PT</yambe:breadcrumb>
Port Scan using nmap
To port scan a service via nmap use following steps:
- Login into Kali Linux
- Get root terminal (sudo su -)
- Run nmap on target on standard ports (approx 1000) use:
- nmap -v -A <FQDN-or-IP>
- To scan each and every port use:
- nmap -v -A -p1-65535 <FQDN-or-IP>
- To see more options type 'nmap' and press enter
Scan live hosts using nmap
If static IP addressing is used then we can scan for free IPs using:
- nmap -sn <patern>
- For example
- nmap -sn 192.168.29.*
Refer:
<yambe:breadcrumb self="Port Scan using nmap">Server VA-PT using Kali|Server VA-PT</yambe:breadcrumb>