In this recipe, we will use Metasploit against the Metasploitable VM to raise the privileges of the user.
Remote Linux privilege escalation
Getting ready
Let's ensure the following prerequisites:
- Your Kali VM is up and running
- Your Metasploitable VM is up and running and on the host-only network
How to do it...
In this recipe we will remotely elevate privilege on a Linux device:
- First, let's log in to the Metasploitable VM and add a standard user.
Metasploitable's default username is msfadmin and password msfadmin.
- From the console, enter the...