mirror of
https://github.com/nmap/nmap.git
synced 2026-06-19 06:58:25 +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:
parent
bb1119e199
commit
1e54009fb9
2 changed files with 8 additions and 8 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue