1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-09 07:59:03 +00:00

Removed extraneous newline from a couple of print_debug strings.

This commit is contained in:
jah
2012-07-23 22:25:51 +00:00
parent 612ca59323
commit a1abb40d50

View File

@@ -530,13 +530,13 @@ local function bad_lockout_policy(host)
local status, result = msrpc.get_domains(host)
if(not(status)) then
stdnse.print_debug(1, "smb-brute: Couldn't detect lockout policy: %s\n", result)
stdnse.print_debug(1, "smb-brute: Couldn't detect lockout policy: %s", result)
return false, "Couldn't retrieve lockout policy: " .. result
end
for domain, data in pairs(result) do
if(data and data.lockout_threshold) then
stdnse.print_debug(1, "smb-brute: Server's lockout policy: lock out after %d attempts\n", data.lockout_threshold)
stdnse.print_debug(1, "smb-brute: Server's lockout policy: lock out after %d attempts", data.lockout_threshold)
return true, true
end
end