1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-24 08:29:04 +00:00

o Fix a number of NSE scripts which used print_debug()

incorrectly. See
  http://seclists.org/nmap-dev/2008/q3/0470.html. [Sven Klemm].
This commit is contained in:
fyodor
2008-08-29 09:16:22 +00:00
parent a6b976cc89
commit f6cfe82658
4 changed files with 5 additions and 7 deletions

View File

@@ -65,8 +65,7 @@ local new_auth_iter = function()
end
i = i + 1
stdnse.print_debug(3, id .. " " ..
userpass[i-1][1] .. ":" .. escape_cred(userpass[i-1][2]))
stdnse.print_debug(3, "%s %s:%s", id, userpass[i-1][1], escape_cred(userpass[i-1][2]))
return userpass[i-1][1], userpass[i-1][2]
end
end