Skip to content

Instantly share code, notes, and snippets.

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