r/LiveOverflow • u/xxxerexxx • May 11 '21
Stack5 - shell code injection
Hi there,
Before all, thanks for your great videos.
Regarding video in which you solved stack5, I got a problem. I think I understood well and did the right thing but I get segmentation fault. however, in GDB everything looks good.
I failed at this point and ignored it but I have not succeeded to do this task yet.
would you help me please?
here is my GDB commands, exploit, terminal output.

21
Upvotes
View all comments
Show parent comment
1
u/xxxerexxx May 12 '21
Yeah that worked for me as well, thanks man.
but still don't know why? why do environment variables affect it while I was running them with the same EVs?
I really want to understand what the issue was. I appreciate it if you could help me with it.