diff --git a/_gtfobins/gdb.md b/_gtfobins/gdb.md index 186c64e..bc08029 100644 --- a/_gtfobins/gdb.md +++ b/_gtfobins/gdb.md @@ -4,4 +4,8 @@ functions: - code: gdb -nx -ex '!sh' -ex quit sudo-enabled: - code: sudo gdb -nx -ex '!sh' -ex quit + file-write: + - code: | + LFILE=file_to_write + gdb -nx -ex "dump value $LFILE \"data\"" -ex quit ---