
Exploitation Script for CVE-2021-3560
This script exploits CVE-2021-3560, a vulnerability in polkit that allows privilege escalation to root.
After cloning the repository, grant execution permissions and run the script:
chmod +x exploit.sh
./exploit.sh
After running the script, a new user will be created with root privileges. You can log in using the credentials specified in the script:
ROOT_USER="john"
ROOT_PASS="john@123"
su john
Password: john@123
sudo su
whoami
root
This exploit is provided for educational purposes only. Use it responsibly and only on systems you have explicit permission to test. Unauthorized access to systems is illegal and punishable under law.