-
Notifications
You must be signed in to change notification settings - Fork 5
/
gumshoe.py
52 lines (44 loc) · 1.69 KB
/
gumshoe.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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
import sys
from modules.email_enumeration.cli import email_search
from modules.username_enumeration.script import username_search
from modules.suddomain_enumeration import domain_search
def print_banner():
print("""
_
| |
__ _ _ _ _ __ ___ ___| |__ ___ ___
/ _` | | | | '_ ` _ \/ __| '_ \ / _ \ / _ |
| (_| | |_| | | | | | \__ \ | | | (_) | __/
\__, |\__,_|_| |_| |_|___/_| |_|\___/ \___|
__/ |
|___/
--------------------------------------
| Enumeration Script |
--------------------------------------
| Options: |
| 1. Search by Username |
| 2. Search by Email |
| 3. Subdomain enumeration |
--------------------------------------
""")
def main():
print_banner()
try:
option = int(input("Enter your choice (1/2/3): "))
if option == 1:
username = input("Enter the username to search: ")
username_search(username)
elif option == 2:
email = input("Enter the email to search: ")
email_search(email)
elif option == 3:
domain = input("Enter the domain to search: ")
domain_search(domain)
else:
print("Invalid option. Please choose a number from 1 to 3.")
sys.exit(1)
except ValueError:
print("Invalid input. Please enter a number.")
sys.exit(1)
if __name__ == "__main__":
main()