diff --git a/monkey/infection_monkey/ransomware/ransomware_config.py b/monkey/infection_monkey/ransomware/ransomware_config.py index 26805c47c..e1b1cb2c4 100644 --- a/monkey/infection_monkey/ransomware/ransomware_config.py +++ b/monkey/infection_monkey/ransomware/ransomware_config.py @@ -10,6 +10,8 @@ class RansomwareConfig: def __init__(self, config: dict): self.encryption_enabled = config["encryption"]["enabled"] self.readme_enabled = config["other_behaviors"]["readme"] + + self.target_directory = None self._set_target_directory(config["encryption"]["directories"]) def _set_target_directory(self, os_target_directories: dict):