Agent: Set default self.target_directory to None

This commit is contained in:
Mike Salvatore 2021-07-15 11:52:17 -04:00
parent 4be442f814
commit feda0718cc
1 changed files with 2 additions and 0 deletions

View File

@ -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):