forked from p15670423/monkey
Fix a bug of incorrect access to ransomware config options in ransomware_payload.py
This commit is contained in:
parent
901485c9e4
commit
f5ebd2d39a
|
@ -9,9 +9,12 @@ class RansomewarePayload:
|
||||||
|
|
||||||
def run_payload(self):
|
def run_payload(self):
|
||||||
LOG.info(
|
LOG.info(
|
||||||
f"Windows dir configured for encryption is " f"{self.config['windows_dir_ransom']}"
|
f"Windows dir configured for encryption is "
|
||||||
|
f"{self.config['directories']['windows_dir']}"
|
||||||
|
)
|
||||||
|
LOG.info(
|
||||||
|
f"Linux dir configured for encryption is " f"{self.config['directories']['linux_dir']}"
|
||||||
)
|
)
|
||||||
LOG.info(f"Linux dir configured for encryption is " f"{self.config['linux_dir_ransom']}")
|
|
||||||
|
|
||||||
file_list = self._find_files()
|
file_list = self._find_files()
|
||||||
self._encrypt_files(file_list)
|
self._encrypt_files(file_list)
|
||||||
|
|
Loading…
Reference in New Issue