-
Notifications
You must be signed in to change notification settings - Fork 5
/
main.py
86 lines (72 loc) · 2.47 KB
/
main.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
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
"""Internal Modules"""
from modules.logo import logo
from modules.email_scraper import email_scraper
from modules.password_grabber import passwords
from modules.address import ip_and_mac_address
from modules.system_info import sys_info
from modules.portscanner import port_scan_main
from modules.phone_details import get_details
from modules.location import target_location
from modules.username_check import username_check
try:
from modules.speed_test import speedTestResult
except:
print("Unable to Load SpeedTest Library")
"""External Modules"""
from colorama import Fore
import logging, coloredlogs
logger = logging.getLogger(f"Logger")
coloredlogs.install(logger = logger)
if __name__ == '__main__':
"""logo print"""
logo()
while(True):
"""Menu"""
print(Fore.LIGHTBLACK_EX + '''
[1] System Information
[2] Get IP and MAC address
[3] Get all Wifi password's
[4] Scrape all Email's from target website
[5] Port Scanner
[6] Phone Number details
[7] Target Geo-Location
[8] Internet Speed Test
[9] Username check
[10] Quit
''')
try:
"""Menu-input"""
menu_input = int(input(Fore.GREEN+"Enter you'r choice : "))
if(type(menu_input) == int):
"""Menu-choice"""
if(menu_input == 1):
sys_info()
elif(menu_input == 2):
ip_and_mac_address()
elif(menu_input == 3):
passwords()
elif(menu_input == 4):
email_scraper()
elif(menu_input == 5):
port_scan_main()
elif(menu_input == 6):
get_details()
elif(menu_input == 7):
target_location()
elif(menu_input == 8):
speedTestResult()
elif(menu_input == 9):
username_check()
elif(menu_input == 10):
print(Fore.YELLOW + "\nThanks For Using ghoulbond\n")
break
else:
print(Fore.RED + "\nInvalid Input!\n")
else:
print(Fore.RED + "\nInvalid Input!\n")
except KeyboardInterrupt:
print(Fore.RED+'\n\n[-] Closing!')
print(Fore.YELLOW + "Thanks For Using ghoulbond\n")
break
except Exception as e:
print(Fore.RED + "\nInvalid Input!")