cspshivam / CVE-2022-0847-dirty-pipe-exploit

An exploit for CVE-2022-0847 dirty-pipe vulnerability

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

An exploit for CVE-2022-0847 dirty-pipe vulnerability

License:GNU General Public License v3.0


Languages

Language:C 100.0%