forked from p15670423/monkey
Agent: Remove usage of CredentialsTelem from Zerologon exploiter
This commit is contained in:
parent
51d5176986
commit
97dcbe6168
|
@ -25,7 +25,6 @@ from infection_monkey.exploit.zerologon_utils.options import OptionsForSecretsdu
|
|||
from infection_monkey.exploit.zerologon_utils.vuln_assessment import get_dc_details, is_exploitable
|
||||
from infection_monkey.exploit.zerologon_utils.wmiexec import Wmiexec
|
||||
from infection_monkey.i_puppet import ExploiterResultData
|
||||
from infection_monkey.telemetry.credentials_telem import CredentialsTelem
|
||||
from infection_monkey.utils.capture_output import StdoutCapture
|
||||
from infection_monkey.utils.threading import interruptible_iter
|
||||
|
||||
|
@ -303,7 +302,6 @@ class ZerologonExploiter(HostExploiter):
|
|||
Credentials(identity=Username(username=user), secret=NTHash(nt_hash=nthash)),
|
||||
]
|
||||
|
||||
self.telemetry_messenger.send_telemetry(CredentialsTelem(extracted_credentials))
|
||||
self._publish_credentials_stolen_event(extracted_credentials)
|
||||
|
||||
def _publish_credentials_stolen_event(self, extracted_credentials: Sequence[Credentials]):
|
||||
|
|
Loading…
Reference in New Issue