diff --git a/format_string_3/.gdb_history b/format_string_3/.gdb_history index 071f7d0..49ba092 100644 --- a/format_string_3/.gdb_history +++ b/format_string_3/.gdb_history @@ -87,3 +87,33 @@ run got got exit +disassemble main +b *main+175 +run +got +disassemble 0x404018 +x *execve +x *puts +search --pointer 0x7ffff7e59bf0 +x/a 0x404018 +set {int}0x404018 = 0x7ffff7eba90f +x/a 0x404018 +set {int}0x404018 = 0x7ffff7eba9f0 +x/a 0x404018 +continue +run +got +search --pointer 0x7ffff7e59bf0 +x/a 0x404018 +p *puts +p *execve +set {int}0x404018 = 0x7ffff7eba9f0 +x/a 0x404018 +got +stepi +continue +run +set {int}0x404018 = 0x7ffff7eba9f0 +got +continue +exit