1
0
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:
david
2013-12-02 22:47:09 +00:00
parent 5821c53627
commit 6832c98454

View File

@@ -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] = {}