Advertisement
Guest User

Untitled

a guest
Mar 15th, 2018
331
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.82 KB | None | 0 0
  1. #from colorama import * #coded by greenhacker
  2. #print(Fore.GREEN + " *****************************************************************");
  3. #print(Fore.GREEN + " * filter emails V 0.1 *");
  4. #print(Fore.GREEN + " * Coded by Coder-Dz *");
  5. #print(Fore.GREEN + " *****************************************************************");
  6. from colorama import *
  7. print("""
  8. ____ _ ____ ____
  9. / ___|___ __| | ___| _ \ | _ \ ____
  10. | | / _ \ / _` |/ _ \ |_) |____| | | |_ /
  11. | |__| (_) | (_| | __/ _ <_____| |_| |/ /
  12. \____\___/ \__,_|\___|_| \_\ |____//___|
  13.  
  14.  
  15. """)
  16. print(Fore.GREEN + "**********************************")
  17. print("* COded *")
  18.  
  19. import time
  20. time.sleep(2)
  21. print("* by *")
  22. time.sleep(2)
  23. print("*", Fore.RED + " CodeR-dZ ",Fore.GREEN + "*")
  24. print("*", Fore.YELLOW + " EmailsFilterV1.0 ",Fore.GREEN + "*")
  25. print("**********************************")
  26. gmail = "Gmail : \n"
  27. yahoo = "Yahoo : \n"
  28. mailru = "mail.ru : \n" #my channel https://www.youtube.com/channel/UCaxFy5MYRXkk0DoRoO4nftA?view_as=subscriber
  29. office = "hootmail : \n"
  30. yandex = "yandex : \n"
  31. masar = input("Enter path of file : ")
  32. try:
  33. a = open(masar,"r").readlines()
  34. c = set(a)
  35. except:
  36. import warnings
  37. warnings.filterwarnings("ignore")
  38. try:
  39. for i in c: #i.count("Coder-Dz")
  40. if i.count("@gmail.com"):
  41.  
  42. gmail+=i+"\n"
  43. elif i.count("@yahoo.com") or i.count("@yahoo.fr"):
  44.  
  45. yahoo+=i+"\n"
  46. elif i.count("@mail.ru") or i.count("@inbox.ru") or i.count("@list.ru") or i.count("@bk.ru"):
  47.  
  48. #Coder-Dz
  49. mailru+=i+"\n"
  50. elif i.count("@outlook.com") or i.count("@hootmail.com") or i.count("@hootmail.fr"):
  51.  
  52. office+=i+"\n"
  53. elif i.count("@yandex.com"):
  54.  
  55. yandex+=i+"\n"
  56. else:
  57. print(Fore.RED+"unknow email >> ",i)
  58. saveee = open("gmail.txt","w")
  59. saveee.write(gmail)
  60. saveee.close()
  61. saveee = open("yahoo.txt","w")
  62. saveee.write(yahoo)
  63. saveee.close()
  64. saveee = open("mailru.txt","w")
  65. saveee.write(mailru)
  66. saveee.close()
  67. saveee = open("yandex.txt","w")
  68. saveee.write(yandex)
  69. saveee.close()
  70. except:
  71. import warnings
  72. warnings.filterwarnings("ignore")
  73. from colorama import *
  74. print(Fore.RED + "[-] Error ==> file note found")
  75.  
  76. print(Fore.WHITE + "_________________________________________________________________________________________\n")
  77. print(Fore.WHITE + "My channel : https://www.youtube.com/channel/UCaxFy5MYRXkk0DoRoO4nftA?view_as=subscriber")
  78. print(Fore.WHITE + "_________________________________________________________________________________________")
  79. #coderdz
  80. #coded by Coder-Dz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement