
Exploit for CVE-2021-4034 (pkexec) targeting CentOS 8, allowing custom command execution via modified pwnkit-dry-run.c. Includes compilation and deployment instructions.
CVE-2021-4034 centos8可用版本
基于修改而来 https://github.com/berdav/CVE-2021-4034/tree/main/dry-run
修改pwnkit-dry-run.c中system函数执行自定义执行命令
(默认为添加r00t用户,密码为XHSZWCPU6Nvobe)
make进行编译
上传到目标机器运行