We will now elevate privileges in Linux:
- Start by finding the IP address of the VulnOS2 image – we can use a simple nmap scan to find it. Open a terminal window by clicking on the terminal icon.
- Enter the following commands to run a quick nmap for the host-only network of 192.168.56.0/24:
nmap -T4 -F 192.168.56.0/24
- From our output, we can see that the address of the machine is 192.168.56.104:
Kali console output
We are going to use this exploit through SSH access to the device. Local access to the device will work; however, ...