Created
June 23, 2017 12:40
-
-
Save Darker/a1c528411d80493b8c7c7588f3fa92a0 to your computer and use it in GitHub Desktop.
Sends random usernames and password to a phishing script to fuck with it
This file contains hidden or 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
import httplib, urllib | |
params = { | |
"app": "", | |
"login_post": "1", | |
"url": "", | |
"anchor_string": "", | |
"username": "dsavffsfds", | |
"password": "fdsfdsfdsfds", | |
"horde_select_view": "auto", | |
"new_lang": "en_US"} | |
headers = { | |
"Host": "prurient-chests.000webhostapp.com", | |
"User-Agent": "Mozilla/5.0 (Windows NT 6.1; WOW64; rv:54.0) Gecko/20100101 Firefox/54.0", | |
"Accept": "text/html,application/xhtml+xml,application/xml;q=0.9,*/*;q=0.8", | |
"Accept-Language": "en-US,en;q=0.5", | |
"Accept-Encoding": "gzip, deflate", | |
"Referer": "http://prurient-chests.000webhostapp.com/", | |
"Content-Type": "application/x-www-form-urlencoded", | |
"Content-Length": "117", | |
"DNT": "1", | |
"Connection": "keep-alive", | |
"Upgrade-Insecure-Requests": "1", | |
"Pragma": "no-cache", | |
"Cache-Control": "no-cache", | |
} | |
import random, string | |
username_letters = string.ascii_lowercase | |
password_letters = string.printable | |
while True: | |
params["username"] = ''.join(random.choice(username_letters) for _ in range(random.randrange(5, 10, 1))) | |
params["password"] = ''.join(random.choice(password_letters) for _ in range(random.randrange(5, 18, 1))) | |
print "User: ", params["username"], " password: ", params["password"] | |
conn = httplib.HTTPConnection("prurient-chests.000webhostapp.com") | |
conn.request("POST", "/e.php", urllib.urlencode(params), headers) | |
try: | |
response = conn.getresponse() | |
print response.status, response.reason | |
data = response.read() | |
except httplib.BadStatusLine: | |
print "Error reading response. Connection probably closed already." | |
conn.close() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment