Agent: Fix order of arguments to Exploiter.exploit_hosts()
This commit is contained in:
parent
b466a17f76
commit
da61451947
|
@ -124,8 +124,8 @@ class Propagator:
|
|||
|
||||
exploiter_config = propagation_config["exploiters"]
|
||||
self._exploiter.exploit_hosts(
|
||||
self._hosts_to_exploit,
|
||||
exploiter_config,
|
||||
self._hosts_to_exploit,
|
||||
self._process_exploit_attempts,
|
||||
network_scan_completed,
|
||||
stop,
|
||||
|
|
|
@ -139,7 +139,7 @@ def test_scan_result_processing(telemetry_messenger_spy):
|
|||
|
||||
class MockExploiter:
|
||||
def exploit_hosts(
|
||||
self, hosts_to_exploit, exploiter_config, results_callback, scan_completed, stop
|
||||
self, exploiter_config, hosts_to_exploit, results_callback, scan_completed, stop
|
||||
):
|
||||
hte = []
|
||||
for _ in range(0, 2):
|
||||
|
|
Loading…
Reference in New Issue