-
Notifications
You must be signed in to change notification settings - Fork 0
/
WebEnum.py
64 lines (48 loc) · 1.54 KB
/
WebEnum.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
from WebDomainInfo import webdomaininfo
from WebDirEnum import webdirenum
from WebSubdomainEnum import websubdomainenum
# Color
#Color
grey = "\033[1;37m"
red = "\033[1;31m"
green = "\033[1;32m"
yellow = "\033[1;33m"
cyan = "\033[1;96m"
purple = "\033[1;35m"
def webenum():
from Info3num import main_menu
print(yellow + """
Available Scripts
<a> Web Domain Information
<b> Web Directory Enumeration
<c> Web Subdomain Enumeration
""")
inp = (input(cyan + "Choose >> "))
if (inp == 'a'):
webdomaininfo()
elif (inp == 'b'):
webdirenum()
elif (inp == 'c'):
websubdomainenum()
elif (inp == "back"):
main_menu()
elif (inp == 'exit'):
exit()
elif (inp == 'ls'):
print(green + """
Available Scripts
<a> Web Domain Information
<b> Web Directory Enumeration
<c> Web Subdomain Enumeration
""")
elif (inp == 'x'):
print(red + "Hint :")
print(green + "ls " + grey + " - to list scripts.")
print(green + "back " + grey + " - previous modules.")
print(green + "exit " + grey + "- to exit the tool.")
else:
print(red + "Enter an valid option")
while True:
webenum()
if __name__ == "__main__":
webenum()