mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 10:29:03 +00:00
o [NSE] Fixed a problem in oracle-brute that would fail due to connection
exhaustion. Fixed some debugging messages in the brute library [Patrik]
This commit is contained in:
@@ -524,16 +524,7 @@ Engine =
|
||||
if ( status ) then
|
||||
-- Prevent locked accounts from appearing several times
|
||||
if ( not(self.found_accounts) or self.found_accounts[response.username] == nil ) then
|
||||
if ( response.username and #response.username > 0 ) then
|
||||
stdnse.print_debug("Found valid password %s:%s on target %s",
|
||||
response.username,
|
||||
( response.password and #response.password > 0 ) and response.password or "<empty>",
|
||||
self.host.ip )
|
||||
else
|
||||
stdnse.print_debug("Found valid password %s on target %s",
|
||||
( response.password and #response.password > 0 ) and response.password or "<empty>",
|
||||
self.host.ip )
|
||||
end
|
||||
stdnse.print_debug("Discovered account: %s", response:toString())
|
||||
table.insert( valid_accounts, response:toString() )
|
||||
self.found_accounts[response.username] = true
|
||||
|
||||
|
||||
Reference in New Issue
Block a user