forked from p15670423/monkey
Agent: Remove redundant condition from RansomwarePayload.run_payload()
This commit is contained in:
parent
824ffc3dfe
commit
d108812e26
|
@ -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)
|
||||
|
||||
|
|
Loading…
Reference in New Issue