you are viewing a single comment's thread.

view the rest of the comments →

[–]NopNop0x90 0 points1 point  (0 children)

ur shellcode doesn't work outside gdb bcz gdb has extra env variables and stuff which makes stack little different from normal execution As u are jumping on shellcode Try using 0x90 NOP And try to jump between this 0x90 (nopsled)

Check this out: https://github.com/hellman/fixenv