forked from p15670423/monkey
Monkey: fix a bug where incorrect windows type string results in key error in pre_exploit()
This commit is contained in:
parent
031cafbe12
commit
454b038948
|
@ -116,7 +116,7 @@ class WebRCE(HostExploiter):
|
||||||
if not self.monkey_target_paths:
|
if not self.monkey_target_paths:
|
||||||
self.monkey_target_paths = {
|
self.monkey_target_paths = {
|
||||||
"linux": self.options["dropper_target_path_linux"],
|
"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"]]
|
self.HTTP = [str(port) for port in self.options["http_ports"]]
|
||||||
super().pre_exploit()
|
super().pre_exploit()
|
||||||
|
|
Loading…
Reference in New Issue