Add a note about python in gdb

This commit is contained in:
Andrea Cardaci 2018-05-28 21:50:01 +02:00
parent 0834533edd
commit 8f1d537d19

View File

@ -1,4 +1,10 @@
--- ---
description: |
GDB may come with embedded Python support, in that case arbitrary code can be
executed with the `python` command in the context of the GDB process.
See the entries of Python version [2](/gtfobins/python2/) and version
[3](/gtfobins/python3/).
functions: functions:
execute-interactive: execute-interactive:
- code: gdb -nx -ex '!sh' -ex quit - code: gdb -nx -ex '!sh' -ex quit