diff --git a/monkey/infection_monkey/exploit/smbexec.py b/monkey/infection_monkey/exploit/smbexec.py index fdcd6ee00..16ea4d0e1 100644 --- a/monkey/infection_monkey/exploit/smbexec.py +++ b/monkey/infection_monkey/exploit/smbexec.py @@ -49,22 +49,18 @@ class SMBExploiter(HostExploiter): } USE_KERBEROS = False SMB_SERVICE_NAME = "InfectionMonkey" - - def _EXPLOITER_TAGS(self) -> Tuple[str, ...]: - return ( - SMBEXEC_EXPLOITER_TAG, - T1021_ATTACK_TECHNIQUE_TAG, - T1110_ATTACK_TECHNIQUE_TAG, - T1210_ATTACK_TECHNIQUE_TAG, - ) - - def _PROPAGATION_TAGS(self) -> Tuple[str, ...]: - return ( - SMBEXEC_EXPLOITER_TAG, - T1021_ATTACK_TECHNIQUE_TAG, - T1105_ATTACK_TECHNIQUE_TAG, - T1210_ATTACK_TECHNIQUE_TAG, - ) + _EXPLOITER_TAGS = ( + SMBEXEC_EXPLOITER_TAG, + T1021_ATTACK_TECHNIQUE_TAG, + T1110_ATTACK_TECHNIQUE_TAG, + T1210_ATTACK_TECHNIQUE_TAG, + ) + _PROPAGATION_TAGS = ( + SMBEXEC_EXPLOITER_TAG, + T1021_ATTACK_TECHNIQUE_TAG, + T1105_ATTACK_TECHNIQUE_TAG, + T1210_ATTACK_TECHNIQUE_TAG, + ) def _exploit_host(self):