mirror of
https://github.com/nmap/nmap.git
synced 2026-01-21 21:59:08 +00:00
Try only 64 ciphers at a time in ssl-enum-ciphers.
An off-by-one error meant that we tried 65 at a time. The number 64 came up in a discussion of limitations of running against IIS. http://seclists.org/nmap-dev/2012/q3/167
This commit is contained in:
@@ -830,7 +830,7 @@ local function keys_in_chunks(t)
|
||||
for k, _ in pairs(t) do
|
||||
c = c+1
|
||||
ret[b][c] = k
|
||||
if c > 64 then
|
||||
if c >= 64 then
|
||||
c = 0
|
||||
b = b + 1
|
||||
ret[b] = {}
|
||||
|
||||
Reference in New Issue
Block a user