Skip to content

Instantly share code, notes, and snippets.

@adricnet
Created December 28, 2016 18:50
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adricnet/7e184a8eccda9b75c0208ce6f434b81a to your computer and use it in GitHub Desktop.
Save adricnet/7e184a8eccda9b75c0208ce6f434b81a to your computer and use it in GitHub Desktop.
crash = "\x41" * 4371 + "BBBB" + "C" * 6 + "DD"
        crash w/EIP ?
A's     ---------
----

4371 : 43 42 53 65      C B . .

4370 : 43 43 53 65      C C . .

4369 : 43 43 54 65      C C . .

4368 : 43 43 54 66      C C . .

4367 : 43 42 42 42      C B B B

4366 : 43 43 54 65      C C . .

4365 : 43 43 54 65      C C . .

4364 : 44 43 54 64      D C . .

4363 : <no crash>
4362 : <no crash>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment