Agent: Remove unused function `send_exploit_telemetry` in `HostExploiter`

This commit is contained in:
Shreya Malviya 2022-02-23 17:42:00 +05:30
parent 58703f9b5b
commit 2a8186928d
1 changed files with 0 additions and 11 deletions

View File

@ -54,17 +54,6 @@ class HostExploiter:
def is_os_supported(self):
return self.host.os.get("type") in self._TARGET_OS_TYPE
def send_exploit_telemetry(self, name: str, result: bool):
from infection_monkey.telemetry.exploit_telem import ExploitTelem
ExploitTelem( # stale code
name=name,
host=self.host,
result=result,
info=self.exploit_info,
attempts=self.exploit_attempts,
).send()
def report_login_attempt(self, result, user, password="", lm_hash="", ntlm_hash="", ssh_key=""):
self.exploit_attempts.append(
{