After making a list of attack-able IPs from Reconnaissance phase, we need to work on phase 2 of Ethical hacking i.e., Scanning. Process of scanning is divided into 3 parts.
- Determine if system is on and working.
- Finding ports on which applications are running.
- Scanning target system for vulnerabilities.
Fping -a -g 172.16.10.1 172.16.10.20
- The “-a” switch is used to show a list of only alive IP in our output.
- “-g” switch is used to specify a range of IP.
- In above command range of IP is 172.16.10.1 to 172.16.10.20.
nmap -sT/U -p 172.16.10.5
- “-s” is used to specify connection type.
- -sT means TCP and -sU means UDP connection.
- “-p” means to scan all ports of target IP.