-
Notifications
You must be signed in to change notification settings - Fork 45
/
check.py
36 lines (33 loc) · 1.09 KB
/
check.py
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
#!/usr/bin/python3
import os
import sys
import click
from termcolor import colored
import subprocess
def asciiBanner():
import pyfiglet
banner = pyfiglet.figlet_format("Email Enum")
return banner
@click.command()
@click.argument('email', nargs=1)
def emailEnum(email):
print(colored(asciiBanner(), 'magenta'))
print(colored("Author: ", 'green') + "Frinto")
print(colored("Version: ", 'green') + colored("v0.5", 'yellow'))
print("\n\n")
try:
firefox_check = subprocess.check_output(['which', 'firefox'])
except subprocess.CalledProcessError as exc:
print(colored("Firefox not installed or isn't in PATH, exiting...", 'yellow'))
sys.exit()
import sites
insta_response = sites.instagramCheck(email)
print("[*] Instagram: " + insta_response)
twit_response = sites.twitterCheck(email)
print("[*] Twitter: " + twit_response)
snap_response = sites.snapchatCheck(email)
print("[*] Snapchat: " + snap_response)
face_response = sites.facebookCheck(email)
print("[*] Facebook: " + face_response)
sites.quitSelenium()
emailEnum()