From ac058c77883c3b5ab9d94a9b482384129da81a4d Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Wed, 7 Sep 2022 13:20:20 +0200 Subject: [PATCH] Agent: Add TODO to rework address_to_ip_port to use list of servers --- monkey/infection_monkey/monkey.py | 1 + 1 file changed, 1 insertion(+) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index f8b523b66..feebfd2e6 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -95,6 +95,7 @@ class InfectionMonkey: logger.info("Monkey is initializing...") self._singleton = SystemSingleton() self._opts = self._get_arguments(args) + # TODO: Change address to ip port to use list of servers self._cmd_island_ip, self._cmd_island_port = address_to_ip_port(self._opts.servers) self._control_client = ControlClient(self._opts.servers) # TODO Refactor the telemetry messengers to accept control client