From 593095cdcfcbc415406f80fe39640d275ae00500 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Fri, 25 Mar 2022 10:53:08 -0400 Subject: [PATCH] Agent: Reword a log message in ransomware payload --- monkey/infection_monkey/payload/ransomware/ransomware.py | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/monkey/infection_monkey/payload/ransomware/ransomware.py b/monkey/infection_monkey/payload/ransomware/ransomware.py index 915f4d22f..e77c5b0b5 100644 --- a/monkey/infection_monkey/payload/ransomware/ransomware.py +++ b/monkey/infection_monkey/payload/ransomware/ransomware.py @@ -56,9 +56,7 @@ class Ransomware: def _encrypt_files(self, files_to_encrypt: Iterable[Path], interrupt: threading.Event): logger.info(f"Encrypting files in {self._target_directory}") - interrupted_message = ( - "Received a stop signal, skipping remaining files for encryption of ransomware payload" - ) + interrupted_message = "Received a stop signal, skipping encryption of remaining files" for filepath in interruptible_iter(files_to_encrypt, interrupt, interrupted_message): try: logger.debug(f"Encrypting {filepath}")