PoC for PwnKit: Local Privilege Escalation Vulnerability in polkit’s pkexec in Python
git clone https://github.com/ravindubw/CVE-2021-4034
cd CVE-2021-4034
python cve-2021-4034-poc.py
Original C code from:
https://github.com/arthepsy/CVE-2021-4034
TryHackMe room :
https://tryhackme.com/room/pwnkit
sudo chmod 0755 /bin/pkexec