From 2ad972548b0f27b108a0cfa7428cfb711c18d8a0 Mon Sep 17 00:00:00 2001 From: Mike Salvatore Date: Mon, 3 Oct 2022 13:07:22 -0400 Subject: [PATCH] Agent: Remove ExploitInterceptingTelemetryMessenger decoration --- monkey/infection_monkey/monkey.py | 9 +-------- 1 file changed, 1 insertion(+), 8 deletions(-) diff --git a/monkey/infection_monkey/monkey.py b/monkey/infection_monkey/monkey.py index b298179c0..e38cbc96e 100644 --- a/monkey/infection_monkey/monkey.py +++ b/monkey/infection_monkey/monkey.py @@ -81,9 +81,6 @@ from infection_monkey.puppet.puppet import Puppet from infection_monkey.system_singleton import SystemSingleton from infection_monkey.telemetry.attack.t1106_telem import T1106Telem from infection_monkey.telemetry.attack.t1107_telem import T1107Telem -from infection_monkey.telemetry.messengers.exploit_intercepting_telemetry_messenger import ( - ExploitInterceptingTelemetryMessenger, -) from infection_monkey.telemetry.messengers.legacy_telemetry_messenger_adapter import ( LegacyTelemetryMessengerAdapter, ) @@ -279,15 +276,11 @@ class InfectionMonkey: victim_host_factory = self._build_victim_host_factory(local_network_interfaces) - telemetry_messenger = ExploitInterceptingTelemetryMessenger( - self._telemetry_messenger, self._relay - ) - self._master = AutomatedMaster( self._current_depth, servers, puppet, - telemetry_messenger, + self._telemetry_messenger, victim_host_factory, self._control_channel, local_network_interfaces,