Agent: Fix order of arguments to Exploiter.exploit_hosts()

This commit is contained in:
Mike Salvatore 2021-12-14 15:30:18 -05:00
parent b466a17f76
commit da61451947
2 changed files with 2 additions and 2 deletions

View File

@ -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,

View File

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