Agent: Use self.telemetry_messenger in SMBExploiter

This commit is contained in:
Mike Salvatore 2022-03-18 08:56:22 -04:00
parent 4a10882bcc
commit df24d4ab6a
1 changed files with 1 additions and 1 deletions

View File

@ -159,7 +159,7 @@ class SMBExploiter(HostExploiter):
except Exception:
status = ScanStatus.SCANNED
pass
T1035Telem(status, UsageEnum.SMB).send()
self.telemetry_messenger.send_telemetry(T1035Telem(status, UsageEnum.SMB))
scmr.hRDeleteService(scmr_rpc, service)
scmr.hRCloseServiceHandle(scmr_rpc, service)