forked from p15670423/monkey
Agent: Pass servers when running exploits in Puppet
This commit is contained in:
parent
c51217507a
commit
f93125f671
|
@ -70,11 +70,12 @@ class Puppet(IPuppet):
|
|||
name: str,
|
||||
host: VictimHost,
|
||||
current_depth: int,
|
||||
servers: Sequence[str],
|
||||
options: Dict,
|
||||
interrupt: threading.Event,
|
||||
) -> ExploiterResultData:
|
||||
exploiter = self._plugin_registry.get_plugin(name, PluginType.EXPLOITER)
|
||||
return exploiter.exploit_host(host, current_depth, options, interrupt)
|
||||
return exploiter.exploit_host(host, servers, current_depth, options, interrupt)
|
||||
|
||||
def run_payload(self, name: str, options: Dict, interrupt: threading.Event):
|
||||
payload = self._plugin_registry.get_plugin(name, PluginType.PAYLOAD)
|
||||
|
|
Loading…
Reference in New Issue