From f212425842a7e827b8725fdf2c0d83960af0e402 Mon Sep 17 00:00:00 2001 From: Kekoa Kaaikala Date: Wed, 7 Sep 2022 13:45:07 +0000 Subject: [PATCH] Agent: Pass server list to connect() --- monkey/infection_monkey/monkey.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index c6337148d..3d24c93d3 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -183,7 +183,7 @@ class InfectionMonkey: config = control_channel.get_config() local_port = get_free_tcp_port() - sock, ip_str, port = connect([self._opts.server]) + sock, ip_str, port = connect(self._opts.servers) sock.close() self._relay = TCPRelay( local_port,