https://www.qualys.com/2022/01/25/cve-2021-4034/pwnkit.txt
To compile, just use make
Note: CentOS 8 Stream doesn't have dev tools. Install them with: dnf groupinstall 'Development Tools'
Execute ./cve-2021-4034
If your distro is vulnerable you will get root!