Add keywords to arguments that create RansomwarePayload in monkey.py

This commit is contained in:
VakarisZ 2021-06-29 09:14:43 +03:00
parent 543f0031a2
commit e34599779b
1 changed files with 2 additions and 1 deletions

View File

@ -477,7 +477,8 @@ class InfectionMonkey(object):
try:
RansomewarePayload(
WormConfiguration.ransomware, batching_telemetry_messenger
config=WormConfiguration.ransomware,
telemetry_messenger=batching_telemetry_messenger,
).run_payload()
except Exception as ex:
LOG.error(f"An unexpected error occurred while running the ransomware payload: {ex}")