mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Fix error in ldap-brute: 'no string output'
This commit is contained in:
parent
bfba1352e4
commit
5d14851aaa
1 changed files with 2 additions and 3 deletions
|
|
@ -306,10 +306,9 @@ action = function( host, port )
|
|||
end
|
||||
end
|
||||
|
||||
output = stdnse.format_output(true, valid_accounts)
|
||||
if err then
|
||||
output = stdnse.format_output(true, valid_accounts ) .. stdnse.format_output(true, err) or stdnse.format_output(true, err)
|
||||
else
|
||||
output = stdnse.format_output(true, valid_accounts) or ""
|
||||
output = (output or "") .. stdnse.format_output(true, err)
|
||||
end
|
||||
|
||||
return output
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue