Lab – Scanning and enumeration
To begin, start up your lab environment, including the Kali Linux and the Metasploitable machines set up in the previous lab. When all the machines are booted up, log in to your Kali machine with the account name kali and password kali.
Open a Command Prompt and run the following nmap commands with the switches that have been provided. This exercise will show ping sweeps and port scans of both the TCP and UDP ports. For an explanation of how the switches work, use Nmap’s reference guide (http://nmap.org/book/man-briefoptions.html).
To help you understand this better, each of the following questions is followed by the command or commands to run to get the answer:
- Explain what the -sn switch does:
- Run the sudo nmap -sn 192.168.255.0/24 command
- Explain what the –Pn switch does:
- Run the sudo nmap –Pn 192.168.255.2 command
- Run the sudo nmap -Pn 192.168.255.3 command
- Explain what the -sS switch does:
- Run the sudo...