From 6adb356e81b6feb05d73e8ab642bffc8f3493500 Mon Sep 17 00:00:00 2001 From: Ilija Lazoroski Date: Fri, 7 Oct 2022 15:55:20 +0200 Subject: [PATCH] Agent: Move Zerologon tag to the implementation It is not used anywhere else. --- monkey/infection_monkey/exploit/zerologon.py | 2 +- monkey/infection_monkey/exploit/zerologon_utils/__init__.py | 1 - 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/monkey/infection_monkey/exploit/zerologon.py b/monkey/infection_monkey/exploit/zerologon.py index 68761eff7..a605e6a6c 100644 --- a/monkey/infection_monkey/exploit/zerologon.py +++ b/monkey/infection_monkey/exploit/zerologon.py @@ -25,7 +25,6 @@ from common.tags import ( ) from infection_monkey.exploit.HostExploiter import HostExploiter from infection_monkey.exploit.tools.wmi_tools import WmiTools -from infection_monkey.exploit.zerologon_utils import ZEROLOGON_EXPLOITER_TAG from infection_monkey.exploit.zerologon_utils.dump_secrets import DumpSecrets from infection_monkey.exploit.zerologon_utils.options import OptionsForSecretsdump from infection_monkey.exploit.zerologon_utils.vuln_assessment import get_dc_details, is_exploitable @@ -37,6 +36,7 @@ from infection_monkey.utils.threading import interruptible_iter logger = logging.getLogger(__name__) +ZEROLOGON_EXPLOITER_TAG = "zerologon-exploiter" CREDENTIALS_STOLEN_EVENT_TAGS = frozenset( { diff --git a/monkey/infection_monkey/exploit/zerologon_utils/__init__.py b/monkey/infection_monkey/exploit/zerologon_utils/__init__.py index 55ba61ffa..e69de29bb 100644 --- a/monkey/infection_monkey/exploit/zerologon_utils/__init__.py +++ b/monkey/infection_monkey/exploit/zerologon_utils/__init__.py @@ -1 +0,0 @@ -ZEROLOGON_EXPLOITER_TAG = "zerologon-exploiter"