forked from p15670423/monkey
Agent: Rename is_exploitable to authenticate
This commit is contained in:
parent
2281d52acc
commit
74088c8143
|
@ -74,8 +74,8 @@ class ZerologonExploiter(HostExploiter):
|
|||
def _exploit_host(self) -> ExploiterResultData:
|
||||
self.dc_ip, self.dc_name, self.dc_handle = get_dc_details(self.host)
|
||||
|
||||
can_exploit, rpc_con = self.is_exploitable()
|
||||
if can_exploit:
|
||||
authenticated, rpc_con = self.authenticate()
|
||||
if authenticated:
|
||||
logger.info("Target vulnerable, changing account password to empty string.")
|
||||
|
||||
if self._is_interrupted():
|
||||
|
@ -112,7 +112,7 @@ class ZerologonExploiter(HostExploiter):
|
|||
|
||||
return self.exploit_result
|
||||
|
||||
def is_exploitable(self) -> Tuple[bool, Optional[rpcrt.DCERPC_v5]]:
|
||||
def authenticate(self) -> Tuple[bool, Optional[rpcrt.DCERPC_v5]]:
|
||||
"""
|
||||
Attempt to authenticate with the domain controller
|
||||
|
||||
|
|
Loading…
Reference in New Issue