forked from p15670423/monkey
Add a log message explaining why ransomware target directory is set to none
This commit is contained in:
parent
d3beebf995
commit
726e180797
|
@ -46,7 +46,8 @@ class RansomwarePayload:
|
|||
|
||||
try:
|
||||
return Path(expand_path(target_dir_field))
|
||||
except InvalidPath:
|
||||
except InvalidPath as e:
|
||||
LOG.debug(f"Target ransomware dir set to None: {e}")
|
||||
return None
|
||||
|
||||
def run_payload(self):
|
||||
|
|
Loading…
Reference in New Issue