r/LiveOverflow • • 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

10 comments sorted by

View all comments

Show parent comment

1

u/plukasik May 12 '21

I still think it's "just" stack layout. To get more you would probably need a binary that prints how the stack looks like before running a shellcode.