From 454b038948fc39180340205ca5bd9ea3cd404a6b Mon Sep 17 00:00:00 2001 From: vakaris_zilius Date: Thu, 3 Mar 2022 09:25:56 +0000 Subject: [PATCH] Monkey: fix a bug where incorrect windows type string results in key error in pre_exploit() --- monkey/infection_monkey/exploit/web_rce.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/exploit/web_rce.py b/monkey/infection_monkey/exploit/web_rce.py index 4473a24f5..8ef23acc0 100644 --- a/monkey/infection_monkey/exploit/web_rce.py +++ b/monkey/infection_monkey/exploit/web_rce.py @@ -116,7 +116,7 @@ class WebRCE(HostExploiter): if not self.monkey_target_paths: self.monkey_target_paths = { "linux": self.options["dropper_target_path_linux"], - "win64": self.options["dropper_target_path_win_64"], + "windows": self.options["dropper_target_path_win_64"], } self.HTTP = [str(port) for port in self.options["http_ports"]] super().pre_exploit()