1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 20:51:30 +00:00

Fixed bug that would prevent brute library from stopping to guess passwords

for an account, even when the correct password was found. [Patrik]
This commit is contained in:
patrik
2011-12-30 20:14:48 +00:00
parent 9941656055
commit 20575e01b9

View File

@@ -500,7 +500,7 @@ Engine =
self.threads[coroutine.running()].terminate = true
return false
end
until ( ( not(self.found_accounts) or not(self.found_accounts.username) ) and
until ( ( not(self.found_accounts) or not(self.found_accounts[username]) ) and
( self.options.max_guesses == 0 or not(self.account_guesses[username]) or
self.options.max_guesses > self.account_guesses[username] ) )