-
Notifications
You must be signed in to change notification settings - Fork 2
Expand file tree
/
Copy pathGO.py
More file actions
44 lines (39 loc) · 1.16 KB
/
GO.py
File metadata and controls
44 lines (39 loc) · 1.16 KB
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
import os
import colorama
from colorama import Fore , Back , Style
from colorama import init
init()
os.system('clear')
print(Fore.GREEN +
""" ____ ____
/_ / / __/______ ___ _ ___
/ /_/ _// __/ _ `/ ' \/ -_)
/___/_/ /_/ \_,_/_/_/_/\__/
""")
print(Fore.GREEN + '[1] - START ROOT [2] - NO START ROOT')
os.chdir('Z')
while True:
root = int(input('\033[35m[-->]\033[39m'))
oss = str(input('\033[32m[1]-android\n[2]-linux\n[-->]\033[39m'))
if oss == ('1'):
if root == (1):
try:
os.system('clear')
os.system('root su')
os.system('python3 GO.py')
except:
print('-.-')
elif root == (2):
os.system('clear')
os.system('python3 GO.py')
elif oss == ('2'):
if root == (1):
try:
os.system('clear')
os.system('su')
os.system('python3 GO.py')
except:
print('-.-')
elif root == (2):
os.system('clear')
os.system('python3 GO.py')