In this recipe, we will use a Python script to check the system for vulnerabilities that could lead to privilege escalation.
Local Linux system check for privilege escalationÂ
Getting ready
Let's ensure the following prerequisites:
- Your Metasploitable machine is connected to the NAT network (remove it immediately after this lab)
- Your Metasploitable machine is powered up
How to do it...
In this recipe we will try and discover a vulnerability that will allow us to escalate privileges in linux:
- Log in to the Metasploitable machine with the username msfadmin and...