diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index 51eb7af6e..17dc5bc54 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -223,7 +223,9 @@ class InfectionMonkey: exploit_wrapper.wrap(SSHExploiter), PluginType.EXPLOITER, ) - puppet.load_plugin("HadoopExploiter", HadoopExploiter(), PluginType.EXPLOITER) + puppet.load_plugin( + "HadoopExploiter", exploit_wrapper.wrap(HadoopExploiter), PluginType.EXPLOITER + ) puppet.load_plugin("ransomware", RansomwarePayload(), PluginType.PAYLOAD)