From e34599779b5e23c1a678ed5d1f23fe568bb93642 Mon Sep 17 00:00:00 2001 From: VakarisZ Date: Tue, 29 Jun 2021 09:14:43 +0300 Subject: [PATCH] Add keywords to arguments that create RansomwarePayload in monkey.py --- monkey/infection_monkey/monkey.py | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index 622c17d7d..b1bb61e4f 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -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}")