1
0
mirror of https://github.com/nmap/nmap.git synced 2026-02-03 20:16:33 +00:00
david d275f88183 Fix two bugs in http.read_auth_challenge reported by Tom Sellers. The
first was that pos was declared as a local variable and shadowed the pos
parameter. The second was that when multiple WWW-Authenticate headers
were present, the wrong pos would be returned after reading the first
one. The arrow shows the pos it was returning:

Digest realm="My Site", domain="/", Basic realm="My Site"
                                          ^

It now returns this correct pos, ready to read the next challenge:

Digest realm="My Site", domain="/", Basic realm="My Site"
                                    ^

This was a problem I had already solved for Ncat but I copied the logic
imperfectly to http.lua.
2010-08-18 18:16:22 +00:00
2010-06-09 17:20:50 +00:00
2010-05-23 17:42:44 +00:00
2010-07-13 07:42:15 +00:00
2008-07-31 14:18:21 +00:00
2010-08-12 18:29:40 +00:00
2010-06-15 18:02:05 +00:00
2010-06-07 22:09:37 +00:00
2010-05-03 21:20:25 +00:00
2010-05-03 21:20:25 +00:00

Here is some documentation for Nmap, but these files are much less
comprehensive than what you'll find at the actual Nmap documentation
site ( http://nmap.org ).
Languages
C 37.5%
Lua 28.1%
C++ 16.8%
Shell 5.8%
Python 4.2%
Other 7.3%