gipu/polictf/tea_cversion/test.py
2017-05-29 16:08:56 +02:00

12 lines
195 B
Python

from pwn import *
r = remote("127.0.0.1", 8888)
with open("./encrypted") as f:
data = f.read()
print(r.recv())
r.send("{}\n".format(len(data)))
r.send("{}\n".format(data))
print(r.recv())