1
0
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:
dmiller
2024-11-11 21:06:59 +00:00
parent bfba1352e4
commit 5d14851aaa

View File

@@ -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