Create a gist now

Instantly share code, notes, and snippets.

#!/usr/bin/python
import pwn
import time
d = open("uniqnotes","r")
l = d.readlines()
d.close()
for line in l:
p = pwn.remote("195.154.53.62",2222)
p.recv()
p.sendline("alexctf@example.com")
p.recv()
p.sendline(line.rstrip())
data = p.recv()
if "Invalid" in data:
p.close()
else:
print line.rstrip()
print data
p.close()
import sys
sys.exit()
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment