Last active
October 23, 2019 07:50
-
-
Save arall/0ec72fb4a14ca1321b49234bd29476b3 to your computer and use it in GitHub Desktop.
TP
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
import requests | |
import json | |
import random | |
import string | |
import sys | |
import re | |
session = requests.Session() | |
session.headers.update({'User-Agent': 'Mozilla/5.0 (Macintosh; Intel Mac OS X 10.13; rv:59.0)'}) | |
# https://tempr.email/en/ | |
domains = [ | |
"tempr.email", | |
"discard.email", | |
"discardmail.com", | |
"spambog.com", | |
"spambog.ru", | |
"0815.ru", | |
"knol-power.nl", | |
"hartbot.de", | |
"freundin.ru", | |
"lajoska.pe.hu", | |
"1mail.x24hr.com", | |
"now.mefound.com", | |
"katergizmo.de", | |
"B.cr.cloUdnS.asia", | |
"ssl.tls.cloudns.ASIA", | |
"DVD.dns-cloud.net", | |
"BD.dns-cloud.net", | |
"asia.dnsabr.com", | |
"8.dnsabr.com", | |
"23.8.dnsabr.com", | |
"mailpost.gq", | |
"pecinan.com", | |
"disposable-email.ml", | |
"pw.epac.to", | |
"brunhilde.ml", | |
"my.viola.gq", | |
"Email.Viola.Gq", | |
"gay.theworkpc.com", | |
"XMPR.tk", | |
"XMPR.cf", | |
"ETR610.gq", | |
"black.bianco.cf", | |
"Purple.viola.gq", | |
"Disposable.ml", | |
"09stees.online", | |
"07stees.online", | |
"careerwill.com", | |
"barnyarthartakar.com", | |
"nonciclopedia.cf", | |
"firema.tk", | |
"firema.cf", | |
"firema.ml", | |
"staticintime.de", | |
"x.Marrone.cf", | |
"GM.marrone.cf", | |
"Brown.Marrone.Cf", | |
"limeline.in", | |
"Mytrash.tk", | |
"Mytrash.ml", | |
"Mytrash.ga", | |
"Mediaset.gq", | |
"Mediaset.cf", | |
"laokzmaqz.tech", | |
] | |
def request(uri, data, proxy): | |
print ' - POST /' + uri | |
try: | |
request = session.post('https://d6ow8diqzony0.cloudfront.net/' + uri, json=data, proxies=proxy, timeout=30) | |
response = request.json() | |
if response['statusCode'] == 200: | |
body = json.loads(response['body']) | |
print ' - Response: ' + body['responseMessage'] | |
return body | |
else: | |
print ' - ERROR! ' | |
print response | |
return False | |
except Exception as e: | |
# print ' - EXCEPTION: ' + str(e) | |
print ' - Unknown' | |
pass | |
def checkEmail(email, proxy): | |
data = {'email': email, 'receive_offert': True} | |
response = request('check-mail', data, proxy) | |
return response and response['responseMessage'] == 'EMAIL_SAVED' | |
def checkPrize(email, proxy): | |
data = {'email': email} | |
response = request('check-prize', data, proxy) | |
return response and response['responseMessage'] != 'USER_NOT_WIN' and response['responseMessage'] != 'EMAIL_HAS_PARTICIPED' | |
def generateEmail(): | |
user = ''.join(random.choice(string.ascii_lowercase + string.digits) for _ in range(10)) | |
return user + '@' + random.choice(domains) | |
def storeEmail(email): | |
text_file = open("output.txt", "a") | |
text_file.write("%s\n" % email) | |
text_file.close() | |
def getProxies(): | |
request = session.get('https://www.sslproxies.org/') | |
return re.findall("(\d{0,3}\.\d{0,3}\.\d{0,3}\.\d{0,3})[\<\>\/td]+(\d{2,6})[\<\>\/\w =']+yes", request.text) | |
def getRandomProxy(): | |
proxy = random.choice(proxies) | |
return proxy[0] + ':' + proxy[1] | |
proxies = getProxies() | |
while True : | |
email = generateEmail() | |
proxy = {'https': getRandomProxy()} | |
print ' [+] Email: ' + email | |
print ' [+] Proxy: ' + proxy['https'] | |
if checkEmail(email, proxy): | |
if checkPrize(email, proxy): | |
print ' [!] WIN! ' + email | |
storeEmail(email) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment