-
Notifications
You must be signed in to change notification settings - Fork 0
/
main.py
32 lines (28 loc) · 984 Bytes
/
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
import mybanner, colorama, os, subprocess
from colorama import just_fix_windows_console
from colorama import Fore
from colorama import Style
from colorama import Back
from subprocess import run
from Blue_Team import *
from Red_Team import *
try:
colorama.init()
except:
print("[+] Please Setup Tool\npython3 install.py")
# ==================================================================================================================== #
def main():
RTBT = input("Choice: ")
if RTBT == "1":
run('python3 Red_Team/RedTeam.py')
# os.system("python3 Blue_Team/RedTeam.py")
elif RTBT == "2":
run('python3 Blue_Team/BlueTeam.py')
# os.system("python3 Blue_Team/BlueTeam.py")
else:
print("input error")
main()
# ==================================================================================================================== #
if __name__ == "__main__":
mybanner.PrintBanner()
main()