Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

phase 3 issue #5

Open
omaralshikh opened this issue Oct 28, 2020 · 1 comment
Open

phase 3 issue #5

omaralshikh opened this issue Oct 28, 2020 · 1 comment

Comments

@omaralshikh
Copy link

I get valid solution for phase 3 but I keep causing a seg fault and im not sure why.
my buffer size is 0x28

@Kenan-Kamel
Copy link

The main issue why you get a segfault is because the stack after the return is not setup right. One of the possible solutions to this issue is to push the %rsp value again after returning from the touch function and add more padding. The most import is to review the stack after you perform the operation and make sure it's the same as after your attack is done.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants