Agent: Add TODO to rework address_to_ip_port to use list of servers

This commit is contained in:
Ilija Lazoroski 2022-09-07 13:20:20 +02:00 committed by Mike Salvatore
parent 4bff110f35
commit ac058c7788
1 changed files with 1 additions and 0 deletions

View File

@ -95,6 +95,7 @@ class InfectionMonkey:
logger.info("Monkey is initializing...") logger.info("Monkey is initializing...")
self._singleton = SystemSingleton() self._singleton = SystemSingleton()
self._opts = self._get_arguments(args) 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._cmd_island_ip, self._cmd_island_port = address_to_ip_port(self._opts.servers)
self._control_client = ControlClient(self._opts.servers) self._control_client = ControlClient(self._opts.servers)
# TODO Refactor the telemetry messengers to accept control client # TODO Refactor the telemetry messengers to accept control client