Port Scan using nmap
From Notes_Wiki
Home > CentOS > Kali Linux > Server VA-PT > 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:
Home > CentOS > Kali Linux > Server VA-PT > Port Scan using nmap