From 2b11fde82756c5b92dea66c367a0d13506614df6 Mon Sep 17 00:00:00 2001 From: Shreya Malviya Date: Tue, 30 Aug 2022 12:19:18 +0530 Subject: [PATCH] Agent: Use keyword arguments when using PluginConfiguration in Master --- monkey/infection_monkey/master/exploiter.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/master/exploiter.py b/monkey/infection_monkey/master/exploiter.py index ff21ae32b..0c743674c 100644 --- a/monkey/infection_monkey/master/exploiter.py +++ b/monkey/infection_monkey/master/exploiter.py @@ -94,7 +94,7 @@ class Exploiter: # This order allows exploiter-specific options to # override general options for all exploiters. options = {**exploitation_config.options.__dict__, **exploiter.options} - extended_exploiters.append(PluginConfiguration(exploiter.name, options)) + extended_exploiters.append(PluginConfiguration(name=exploiter.name, options=options)) return extended_exploiters