Skip to content

Instantly share code, notes, and snippets.

@fgsahoward
Created June 11, 2018 14:23
Show Gist options
  • Save fgsahoward/da0b0b8e0a78a3e033beea67d927a326 to your computer and use it in GitHub Desktop.
Save fgsahoward/da0b0b8e0a78a3e033beea67d927a326 to your computer and use it in GitHub Desktop.
(gdb) info reg
eax 0xbfffda82 -1073751422
ecx 0xbfffd8f0 -1073751824
edx 0xbfffd8f0 -1073751824
ebx 0x26eff4 2551796
esp 0xbfffd8c0 0xbfffd8c0
ebp 0xbfffd8d8 0xbfffd8d8
esi 0x8048490 134513808
edi 0x8048350 134513488
eip 0x8048470 0x8048470 <main+54>
eflags 0x286 [ PF SF IF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
(gdb) si
0x08048404 in vulnerable ()
(gdb) i r
eax 0xbfffda82 -1073751422
ecx 0xbfffd8f0 -1073751824
edx 0xbfffd8f0 -1073751824
ebx 0x26eff4 2551796
esp 0xbfffd8bc 0xbfffd8bc
ebp 0xbfffd8d8 0xbfffd8d8
esi 0x8048490 134513808
edi 0x8048350 134513488
eip 0x8048404 0x8048404 <vulnerable>
eflags 0x286 [ PF SF IF ]
cs 0x73 115
ss 0x7b 123
ds 0x7b 123
es 0x7b 123
fs 0x0 0
gs 0x33 51
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment