An exploit for CVE-2022-0847 dirty-pipe vulnerability
# CVE-2022-0847-dirty-pipe-exploit
An exploit for CVE-2022-0847 dirty-pipe vulnerability
# How to use this
Compile with ```gcc exploit.c -o exploit``` (assumes gcc is installed)
Run ```./exploit``` and it'll pop a root shell
If you are getting error message like then,
Login as ```root``` with password ```cspshivam```
#### Then, restore ```/etc/passwd``` by running ```mv /tmp/passwd.bak /etc/passwd```
登录后查看神龙缓存的 POC 文件快照
登录查看