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"]
|
exploiter_config = propagation_config["exploiters"]
|
||||||
self._exploiter.exploit_hosts(
|
self._exploiter.exploit_hosts(
|
||||||
self._hosts_to_exploit,
|
|
||||||
exploiter_config,
|
exploiter_config,
|
||||||
|
self._hosts_to_exploit,
|
||||||
self._process_exploit_attempts,
|
self._process_exploit_attempts,
|
||||||
network_scan_completed,
|
network_scan_completed,
|
||||||
stop,
|
stop,
|
||||||
|
|
|
@ -139,7 +139,7 @@ def test_scan_result_processing(telemetry_messenger_spy):
|
||||||
|
|
||||||
class MockExploiter:
|
class MockExploiter:
|
||||||
def exploit_hosts(
|
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 = []
|
hte = []
|
||||||
for _ in range(0, 2):
|
for _ in range(0, 2):
|
||||||
|
|
Loading…
Reference in New Issue