Created
February 6, 2017 10:56
-
-
Save CreateRemoteThread/b053bca3479cddcac8d55ed094ac158c to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/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