From 8f1d537d195d248ab6f67e2f9ff27ae9cf62701a Mon Sep 17 00:00:00 2001 From: Andrea Cardaci Date: Mon, 28 May 2018 21:50:01 +0200 Subject: [PATCH] Add a note about python in gdb --- _gtfobins/gdb.md | 6 ++++++ 1 file changed, 6 insertions(+) diff --git a/_gtfobins/gdb.md b/_gtfobins/gdb.md index bc08029..544091f 100644 --- a/_gtfobins/gdb.md +++ b/_gtfobins/gdb.md @@ -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: execute-interactive: - code: gdb -nx -ex '!sh' -ex quit