From 73b678ae19cc26c442d2744bb1b9728178044a42 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Wed, 30 Mar 2022 07:16:56 -0400 Subject: [PATCH] Agent: Remove redundant telemetry_messenger instantiation --- monkey/infection_monkey/monkey.py | 4 ---- 1 file changed, 4 deletions(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index abcd96772..f9eac872d 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -187,10 +187,6 @@ class InfectionMonkey: victim_host_factory = self._build_victim_host_factory(local_network_interfaces) - telemetry_messenger = ExploitInterceptingTelemetryMessenger( - self._telemetry_messenger, self._monkey_inbound_tunnel - ) - telemetry_messenger = CredentialsInterceptingTelemetryMessenger( ExploitInterceptingTelemetryMessenger( self._telemetry_messenger, self._monkey_inbound_tunnel