forked from p15670423/monkey
Island: Add condition for leaving readme
This commit is contained in:
parent
253f2668d0
commit
69754205d0
|
@ -61,7 +61,8 @@ class RansomwarePayload:
|
|||
file_list = self._find_files()
|
||||
self._encrypt_files(file_list)
|
||||
|
||||
self._leave_readme()
|
||||
if self._target_dir:
|
||||
self._leave_readme()
|
||||
|
||||
def _find_files(self) -> List[Path]:
|
||||
LOG.info(f"Collecting files in {self._target_dir}")
|
||||
|
|
Loading…
Reference in New Issue