mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Fix error in ldap-brute: 'no string output'
This commit is contained in:
@@ -306,10 +306,9 @@ action = function( host, port )
|
|||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
output = stdnse.format_output(true, valid_accounts)
|
||||||
if err then
|
if err then
|
||||||
output = stdnse.format_output(true, valid_accounts ) .. stdnse.format_output(true, err) or stdnse.format_output(true, err)
|
output = (output or "") .. stdnse.format_output(true, err)
|
||||||
else
|
|
||||||
output = stdnse.format_output(true, valid_accounts) or ""
|
|
||||||
end
|
end
|
||||||
|
|
||||||
return output
|
return output
|
||||||
|
|||||||
Reference in New Issue
Block a user