forked from p15670423/monkey
Agent: Fix typo in t1203 attack technique in Log4Shell
This commit is contained in:
parent
ef4a465515
commit
c5d5418af4
|
@ -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
|
||||
|
|
Loading…
Reference in New Issue