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:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user