forked from p15670423/monkey
Agent: Remove `host` from Zerologon exploiter's constructor
This commit is contained in:
parent
040227286a
commit
a927879334
|
@ -37,8 +37,8 @@ class ZerologonExploiter(HostExploiter):
|
||||||
MAX_ATTEMPTS = 2000 # For 2000, expected average number of attempts needed: 256.
|
MAX_ATTEMPTS = 2000 # For 2000, expected average number of attempts needed: 256.
|
||||||
ERROR_CODE_ACCESS_DENIED = 0xC0000022
|
ERROR_CODE_ACCESS_DENIED = 0xC0000022
|
||||||
|
|
||||||
def __init__(self, host: object):
|
def __init__(self):
|
||||||
super().__init__(host)
|
super().__init__()
|
||||||
self.exploit_info["password_restored"] = None
|
self.exploit_info["password_restored"] = None
|
||||||
self._extracted_creds = {}
|
self._extracted_creds = {}
|
||||||
self._secrets_dir = tempfile.TemporaryDirectory(prefix="zerologon")
|
self._secrets_dir = tempfile.TemporaryDirectory(prefix="zerologon")
|
||||||
|
|
Loading…
Reference in New Issue