1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00

Change the "namevals" key in the return value of

http.read_auth_challenge to "params" to match RFC 2617.
This commit is contained in:
david
2010-07-25 17:33:35 +00:00
parent bb1119e199
commit 1e54009fb9
2 changed files with 8 additions and 8 deletions

View File

@@ -64,7 +64,7 @@ action = function(host, port)
basic_challenge = challenge
end
local line = challenge.scheme
for name, value in pairs(challenge.namevals) do
for name, value in pairs(challenge.params) do
line = line .. string.format(" %s=%s", name, value)
end
result[#result + 1] = line