Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #from colorama import * #coded by greenhacker
- #print(Fore.GREEN + " *****************************************************************");
- #print(Fore.GREEN + " * filter emails V 0.1 *");
- #print(Fore.GREEN + " * Coded by Coder-Dz *");
- #print(Fore.GREEN + " *****************************************************************");
- from colorama import *
- print("""
- ____ _ ____ ____
- / ___|___ __| | ___| _ \ | _ \ ____
- | | / _ \ / _` |/ _ \ |_) |____| | | |_ /
- | |__| (_) | (_| | __/ _ <_____| |_| |/ /
- \____\___/ \__,_|\___|_| \_\ |____//___|
- """)
- print(Fore.GREEN + "**********************************")
- print("* COded *")
- import time
- time.sleep(2)
- print("* by *")
- time.sleep(2)
- print("*", Fore.RED + " CodeR-dZ ",Fore.GREEN + "*")
- print("*", Fore.YELLOW + " EmailsFilterV1.0 ",Fore.GREEN + "*")
- print("**********************************")
- gmail = "Gmail : \n"
- yahoo = "Yahoo : \n"
- mailru = "mail.ru : \n" #my channel https://www.youtube.com/channel/UCaxFy5MYRXkk0DoRoO4nftA?view_as=subscriber
- office = "hootmail : \n"
- yandex = "yandex : \n"
- masar = input("Enter path of file : ")
- try:
- a = open(masar,"r").readlines()
- c = set(a)
- except:
- import warnings
- warnings.filterwarnings("ignore")
- try:
- for i in c: #i.count("Coder-Dz")
- if i.count("@gmail.com"):
- gmail+=i+"\n"
- elif i.count("@yahoo.com") or i.count("@yahoo.fr"):
- yahoo+=i+"\n"
- elif i.count("@mail.ru") or i.count("@inbox.ru") or i.count("@list.ru") or i.count("@bk.ru"):
- #Coder-Dz
- mailru+=i+"\n"
- elif i.count("@outlook.com") or i.count("@hootmail.com") or i.count("@hootmail.fr"):
- office+=i+"\n"
- elif i.count("@yandex.com"):
- yandex+=i+"\n"
- else:
- print(Fore.RED+"unknow email >> ",i)
- saveee = open("gmail.txt","w")
- saveee.write(gmail)
- saveee.close()
- saveee = open("yahoo.txt","w")
- saveee.write(yahoo)
- saveee.close()
- saveee = open("mailru.txt","w")
- saveee.write(mailru)
- saveee.close()
- saveee = open("yandex.txt","w")
- saveee.write(yandex)
- saveee.close()
- except:
- import warnings
- warnings.filterwarnings("ignore")
- from colorama import *
- print(Fore.RED + "[-] Error ==> file note found")
- print(Fore.WHITE + "_________________________________________________________________________________________\n")
- print(Fore.WHITE + "My channel : https://www.youtube.com/channel/UCaxFy5MYRXkk0DoRoO4nftA?view_as=subscriber")
- print(Fore.WHITE + "_________________________________________________________________________________________")
- #coderdz
- #coded by Coder-Dz
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement