mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
o [NSE] Fixed bug in the http library that would fail parsing authentication
headers if no parameters were present. [Patrik]
This commit is contained in:
parent
4e3c3f757e
commit
f93b31373a
2 changed files with 5 additions and 1 deletions
|
|
@ -1,5 +1,8 @@
|
|||
# Nmap Changelog ($Id$); -*-text-*-
|
||||
|
||||
o [NSE] Fixed bug in the http library that would fail parsing authentication
|
||||
headers if no parameters were present. [Patrik]
|
||||
|
||||
o Added new fingerprints to http-enum for Subversion, CVS and Apache Archiva
|
||||
[Duarte Silva]
|
||||
|
||||
|
|
|
|||
|
|
@ -1608,7 +1608,8 @@ local function read_auth_challenge(s, pos)
|
|||
tmp_pos = pos
|
||||
tmp_pos, name = read_token(s, tmp_pos)
|
||||
if not name then
|
||||
return nil
|
||||
pos = skip_space(s, pos + 1)
|
||||
return pos, { scheme = scheme, params = nil }
|
||||
end
|
||||
tmp_pos = skip_space(s, tmp_pos)
|
||||
if string.sub(s, tmp_pos, tmp_pos) ~= "=" then
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue