Monkey: fix a bug where incorrect windows type string results in key error in pre_exploit()

This commit is contained in:
vakaris_zilius 2022-03-03 09:25:56 +00:00
parent 031cafbe12
commit 454b038948
1 changed files with 1 additions and 1 deletions

View File

@ -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()