forked from p34709852/monkey
Agent: Pass server to InfectionMonkey._register_agent()
This commit is contained in:
parent
b4c8ac7242
commit
fbb8e85b46
|
@ -124,7 +124,7 @@ class InfectionMonkey:
|
||||||
server_address=server, island_api_client=self._island_api_client
|
server_address=server, island_api_client=self._island_api_client
|
||||||
)
|
)
|
||||||
self._control_channel = ControlChannel(server, GUID, self._island_api_client)
|
self._control_channel = ControlChannel(server, GUID, self._island_api_client)
|
||||||
self._register_agent()
|
self._register_agent(server)
|
||||||
|
|
||||||
# TODO Refactor the telemetry messengers to accept control client
|
# TODO Refactor the telemetry messengers to accept control client
|
||||||
# and remove control_client_object
|
# and remove control_client_object
|
||||||
|
|
Loading…
Reference in New Issue