Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- import requests,os
- from multiprocessing.pool import ThreadPool
- print "\t[ Valid Apple By Deray ]\n"
- def main(a):
- r=requests.get(
- "http://ainz.web.id/apple-valid.php?e="+a).json()
- res=r["Result"]
- if res["Status"] !="DIE":
- print("[ \033[1;32m%s\033[0m ] %s"%(
- res["Status"],
- res["Email"]))
- open("valid.txt","a").write(res["Email"]+"\n")
- else:
- print("[ \033[1;37m\033[31m%s \033[0m] %s"%(
- res["Status"]+"E",res["Email"]))
- t=[]
- if os.path.exists("valid.txt"):
- if os.path.getsize("valid.txt") !=0:
- r=raw_input("[?] path exists: valid.txt (replace?y/n): ")
- if r.lower() =="y":
- open("valid.txt","w").close()
- else:
- open("valid.txt","w").close()
- o=open(raw_input('[+] Mailist: ')).read().splitlines()
- print("[+] Output: valid.txt")
- p=ThreadPool(10)
- p.map(main,o)
Advertisement
Add Comment
Please, Sign In to add comment