forked from p15670423/monkey
Add keywords to arguments that create RansomwarePayload in monkey.py
This commit is contained in:
parent
543f0031a2
commit
e34599779b
monkey/infection_monkey
|
@ -477,7 +477,8 @@ class InfectionMonkey(object):
|
||||||
|
|
||||||
try:
|
try:
|
||||||
RansomewarePayload(
|
RansomewarePayload(
|
||||||
WormConfiguration.ransomware, batching_telemetry_messenger
|
config=WormConfiguration.ransomware,
|
||||||
|
telemetry_messenger=batching_telemetry_messenger,
|
||||||
).run_payload()
|
).run_payload()
|
||||||
except Exception as ex:
|
except Exception as ex:
|
||||||
LOG.error(f"An unexpected error occurred while running the ransomware payload: {ex}")
|
LOG.error(f"An unexpected error occurred while running the ransomware payload: {ex}")
|
||||||
|
|
Loading…
Reference in New Issue