Agent: Pass server list to connect()
This commit is contained in:
parent
bbdc378a0d
commit
f212425842
|
@ -183,7 +183,7 @@ class InfectionMonkey:
|
||||||
config = control_channel.get_config()
|
config = control_channel.get_config()
|
||||||
|
|
||||||
local_port = get_free_tcp_port()
|
local_port = get_free_tcp_port()
|
||||||
sock, ip_str, port = connect([self._opts.server])
|
sock, ip_str, port = connect(self._opts.servers)
|
||||||
sock.close()
|
sock.close()
|
||||||
self._relay = TCPRelay(
|
self._relay = TCPRelay(
|
||||||
local_port,
|
local_port,
|
||||||
|
|
Loading…
Reference in New Issue