diff --git a/monkey/infection_monkey/ransomware/ransomware_payload.py b/monkey/infection_monkey/ransomware/ransomware_payload.py index 941055062..f9141f77d 100644 --- a/monkey/infection_monkey/ransomware/ransomware_payload.py +++ b/monkey/infection_monkey/ransomware/ransomware_payload.py @@ -9,9 +9,12 @@ class RansomewarePayload: def run_payload(self): LOG.info( - f"Windows dir configured for encryption is " f"{self.config['windows_dir_ransom']}" + f"Windows dir configured for encryption is " + f"{self.config['directories']['windows_dir']}" + ) + LOG.info( + f"Linux dir configured for encryption is " f"{self.config['directories']['linux_dir']}" ) - LOG.info(f"Linux dir configured for encryption is " f"{self.config['linux_dir_ransom']}") file_list = self._find_files() self._encrypt_files(file_list)