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

Update Binary Exploitation - Stack overflow attack section #48

Open
syreal17 opened this issue Jan 4, 2024 · 0 comments
Open

Update Binary Exploitation - Stack overflow attack section #48

syreal17 opened this issue Jan 4, 2024 · 0 comments

Comments

@syreal17
Copy link
Collaborator

syreal17 commented Jan 4, 2024

Consider issues with current Stack overflow attack section:

  • Gives source code for vulnerable program and solution exploit, but the return address needed is liable to change, and padding might change between systems as well.
  • Solution exploit uses python3 and print which is unable to output non-printable characters
  • The current working solution: python3 -c "import sys; sys.stdout.buffer.write(b'abcdefghijkl\x76\x11\x40\x00\x00\x00\x00\x00')" | ./vuln1
  • This might be a good first candidate to move to a Gym problem instead of local thing
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

1 participant