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

Question regarding 5th problem, Nitroglycerin #2

Open
ngjuping opened this issue Apr 12, 2020 · 0 comments
Open

Question regarding 5th problem, Nitroglycerin #2

ngjuping opened this issue Apr 12, 2020 · 0 comments

Comments

@ngjuping
Copy link

Hello! I had been looking into solutions for the bufbomb project, and much thanks for your very kind sharing of answer! However, I am eager to look into more working principles of the solutions. I think your first 4 solutions are very intuitive, but the 5th problem, Nitroglycerin, had been very difficult for me to understand.
I have a few questions, and I wish that you can spend some time to help me and other people who has the same kind of confusion, and possibly an improvement to your wonderful project.

  1. First, why would you pick 509 as a number to duplicate the nop 0x90? The buffer is 512 in bytes and I thought 512 0x90s should be the "intuitive" number? (509 is correct for me!)
  2. What's the logic behind picking the maximum addr in the third part? The part where you run the nitro version of program once and used info reg to look into $ebp-0x208.
    Again, your efforts are very much appreciated, and I look forward for your reply!
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