-
Notifications
You must be signed in to change notification settings - Fork 1
/
garuda.py
58 lines (51 loc) · 2.7 KB
/
garuda.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
import scan
import Honeypot
from cli import Output
msg = (
" __..-' \n"
" ________ ___ _.--'' \n"
" / _____/_____ _______ __ __ __| _/____ _...__..-' \n"
" / \ ___\__ \ \_ __ \ | \/ __ |\__ \ .' \n"
" \ \_\ \/ __ \_| | \/ | / /_/ | / __ \_ .' \n"
" \______ /____ /|__| |____/\____ |(____ / .' \n"
" \/ \/ \/ \/ .' \n"
" | \n"
" .------._ ; \n"
'------MENU------- .-"""`-.<'
") `-._ . \n"
" (.--. _ `._ `'---.__.-' \n"
" 1) PORT Scannner ` `;'-.-' '- ._ \n"
" .--'`` '._ - ' . \n"
" 2) HoneyPot `"
"'-. `---' , \n"
" ''--..__ `\" \n"
" ``''---'`\ .' \n"
" `'. ' \n"
" `'. \n"
)
output = Output()
class bold_color: # Change colours according to your need
PURPLE = "\033[95m"
CYAN = "\033[96m"
DARKCYAN = "\033[36m"
BLUE = "\033[94m"
GREEN = "\033[92m"
YELLOW = "\033[93m"
RED = "\033[91m"
BOLD = "\033[1m"
UNDERLINE = "\033[4m"
END = "\033[0m"
# I could have replaced the print function with the c_print function
# But it would be a lot of work to replace all the print functions
print("\033[92m")
print(msg)
# Reset the color to default
print("\033[0m")
if __name__ == "__main__":
menu_option = int(output.ask("Select an option", choices=["1", "2"]))
if menu_option == 1:
scan.scanner()
elif menu_option == 2:
Honeypot.honey()
else:
output.c_print("This file is not meant to be imported", code="danger")