-
Notifications
You must be signed in to change notification settings - Fork 19
/
Copy pathMainMenu.py
35 lines (31 loc) · 961 Bytes
/
MainMenu.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
import requests
import os
import time
import random
import sys
os.system("clear")
os.system("cd && cd Infect && bash src/Logo.sh")
print(" \033[1;34m[1] >> \033[1;36;40mInfect")
print(" \033[1;34m[2] >> \033[1;36;40mUpdate")
print(" \033[1;34m[3] >> \033[1;36;40mAbout")
print(" \033[1;34m[4] >> \033[1;36;40mExit")
op=int(raw_input("1nfEct: "))
if(op==1):
os.system("clear")
os.system("cd && cd Infect && python2 src/InfectMenu.py")
elif(op==2):
os.system("clear")
os.system("cd && rm -rf AutoUpdateMyTools && git clone /~https://github.com/mishakorzik/AutoUpdateMyTools && bash AutoUpdateMyTools/Files/InfectUpdateUtility.sh")
elif(op==3):
time.sleep(0.2)
os.system("cd && cd Infect && bash src/About.sh")
elif(op==4):
time.sleep(0.2)
print("\033[1;31;40mQuiting utility...")
os.system("cd")
else:
print("\033[1;31;40mInvalid input. Reloading Tool")
time.sleep(1.6)
os.system("cd")
os.system("cd Infect")
os.system("python2 MainMenu.py")