In this section, we are going to use a local exploit to escalate our privilege.
To demonstrate this, we will use the following virtual machines:
- Metasploitable 2 as our victim machine
- Kali Linux as our attacking machine
First, we will identify the open network services available on the victim machine. For this, we utilize the Nmap port scanner with the following command:
nmap -p- 172.16.43.156
We configure Nmap to scan for all of the ports (from port 1 to port 65,535) using the -p- option.
The following screenshot shows the brief result of the preceding command:
After doing some research on the internet, we found that the ...