This post-escalation bash script sanitizes 29 logs, adds a root user, and allows for package installation including hashcat, nmap, and more. Written for Ubuntu.
You can download it from the following link: https://packetstormsecurity.com/files/download/103820/gotroot.sh.txt
Source: https://packetstormsecurity.com/files/103820/GotRoot-Shell-Script.html

