Last active
April 4, 2018 00:47
-
-
Save cyberheartmi9/d7bb73f40df0f5afe225a0cbacb35b72 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| |printf|pop-ret|%5$n|execl|exit|/bin/sh/|/bin/sh|execl-last-arg| | |
| ---------------------- | stack grow | |
| |execl-last-arg | | | |
| |--------------------- | | |
| |/bin/sh | | | |
| |--------------------- | | |
| |/bin/sh | | | |
| |--------------------- | | |
| |exit | | | |
| |--------------------- | | |
| |execl | v | |
| |--------------------- | |
| |%5$n | | |
| |--------------------- | |
| |pop ret | | |
| |--------------------- | |
| |printf | | |
| |--------------------- | |
| |printf|pop-ret|%6$n|printf|ppr|%8$n|setuid|pop-ret|setuid-arg|execl|exit|/bin/sh|/bin/sh|execl-last-arg| | |
| -------------------------- | stack grow | |
| | execl-last-arg(null) | | | |
| |------------------------- | | |
| |/bin/sh | | | |
| |------------------------- | | |
| |/bin/sh | | | |
| |------------------------- | | |
| |exit | | | |
| |------------------------- | | |
| |setuid-arg | | | |
| |------------------------- v | |
| |pop ret | | |
| |------------------------- | |
| |setuid | | |
| |------------------------- | |
| | %8$n | | |
| |------------------------- | |
| |pop ret | | |
| |------------------------- | |
| |printf | | |
| |------------------------- | |
| |%6$n | | |
| |------------------------- | |
| |pop ret | | |
| |------------------------- | |
| |printf | | |
| |------------------------- |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment