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:
@@ -500,7 +500,7 @@ Engine =
|
|||||||
self.threads[coroutine.running()].terminate = true
|
self.threads[coroutine.running()].terminate = true
|
||||||
return false
|
return false
|
||||||
end
|
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 == 0 or not(self.account_guesses[username]) or
|
||||||
self.options.max_guesses > self.account_guesses[username] ) )
|
self.options.max_guesses > self.account_guesses[username] ) )
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user