Revert changes to NTLMv1 check

main
François REYNAUD 2023-07-22 19:14:20 +02:00
parent a6e2f1cc45
commit 48237a0908
1 changed files with 3 additions and 2 deletions

View File

@ -249,7 +249,7 @@ class HostChecker:
'HKLM\\SYSTEM\\CurrentControlSet\\Control\\Lsa',
'LmCompatibilityLevel', 5, operator.ge
)
]], checker_kwargs=[{'options':{'KOIfMissing':False, 'lastWins':True}}]),
]]),
ConfigCheck('NBTNS', 'Checks if NBTNS is disabled on all interfaces', checkers=[self.check_nbtns]),
ConfigCheck('mDNS', 'Checks if mDNS is disabled', checker_args=[[self, (
'HKLM\\SYSTEM\\CurrentControlSet\\Services\\DNScache\\Parameters',
@ -451,8 +451,9 @@ class HostChecker:
# Checking LAPSv2
ans = self._open_root_key(self.dce, self.connection, 'HKLM')
if ans is None:
return subkeys
return False, ['Could not query remote registry']
root_key_handle = ans['phKey']
try: