Agent: Fix typo in t1203 attack technique in Log4Shell

This commit is contained in:
Ilija Lazoroski 2022-10-04 16:38:26 +02:00
parent ef4a465515
commit c5d5418af4
1 changed files with 3 additions and 3 deletions

View File

@ -4,7 +4,7 @@ from pathlib import PurePath
from common import OperatingSystem
from common.common_consts.timeouts import LONG_REQUEST_TIMEOUT, MEDIUM_REQUEST_TIMEOUT
from common.tags import T1203_ATTACK_TECHINQUE_TAG
from common.tags import T1203_ATTACK_TECHNIQUE_TAG
from common.utils import Timer
from infection_monkey.exploit.log4shell_utils import (
LINUX_EXPLOIT_TEMPLATE_PATH,
@ -192,7 +192,7 @@ class Log4ShellExploiter(WebRCE):
self._publish_exploitation_event(
target=self.host.ip_addr,
exploitation_success=True,
tags=(LOG4SHELL_EXPLOITER_TAG, T1203_ATTACK_TECHINQUE_TAG),
tags=(LOG4SHELL_EXPLOITER_TAG, T1203_ATTACK_TECHNIQUE_TAG),
)
self.exploit_result.exploitation_success = True
return True
@ -211,7 +211,7 @@ class Log4ShellExploiter(WebRCE):
self._publish_propagation_event(
target=self.host.ip_addr,
propagation_success=True,
tags=(LOG4SHELL_EXPLOITER_TAG, T1203_ATTACK_TECHINQUE_TAG),
tags=(LOG4SHELL_EXPLOITER_TAG, T1203_ATTACK_TECHNIQUE_TAG),
)
self.exploit_result.propagation_success = True
break