-
Notifications
You must be signed in to change notification settings - Fork 0
/
netalyzr.py
73 lines (69 loc) · 2.74 KB
/
netalyzr.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
# Import necessary modules from the 'modules' directory
from modules import search_engine
from modules import websites, email, competitive_intelligence
from modules import whois_lookup, dns_lookup, network, social_engineering
from modules import google_hacking # Import the Google hacking module
def display_menu():
"""Display the main menu for the Netalyzr tool."""
print("\nWelcome to Netalyzr!")
print("Select a module to explore:")
print("1) Search Engines")
print("2) Advanced Google Hacking Techniques")
print("3) Social Networking Sites")
print("4) Websites")
print("5) Email")
print("6) Competitive Intelligence")
print("7) WHOIS")
print("8) DNS Footprinting") # Updated text for option 8
print("9) Network")
print("10) Social Engineering")
print("11) Automated In-Build Tool")
print("0) Exit")
def handle_choice(choice):
"""Handle the user's choice by running the appropriate module."""
if choice == '1':
print("Launching Search Engines module...")
search_engine.search_engines_module()
elif choice == '2':
print("Launching Advanced Google Hacking Techniques module...")
google_hacking.main() # Call the main function from google_hacking module
elif choice == '3':
print("Launching Social Networking Sites module...")
social_networking.social_networking_module()
elif choice == '4':
print("Launching Websites module...")
websites.main()
elif choice == '5':
print("Launching Email module...")
email.email_footprinting_tool()
elif choice == '6':
print("Launching Competitive Intelligence module...")
competitive_intelligence.competitive_intelligence_module()
elif choice == '7':
print("Launching WHOIS module...")
whois_lookup.whois_lookup() # Call the WHOIS module function
elif choice == '8':
print("Launching DNS Footprinting module...") # Trigger DNS footprinting
dns_lookup.dns_footprinting_menu() # Run the DNS module from dns_lookup
elif choice == '9':
print("Launching Network module...")
network.network_menu()
elif choice == '10':
print("Launching Social Engineering module...")
social_engineering.main()
elif choice == '11':
print("Launching Automated In-Build Tool...")
automated_tool.automated_tool_module()
elif choice == '0':
print("Exiting...")
exit()
else:
print("Invalid choice. Please select a number between 0 and 11.")
def main():
"""Main function to display the menu and handle user inputs."""
while True:
display_menu()
choice = input("Enter your choice: ")
handle_choice(choice)
if __name__ == "__main__":
main()