From 4e3baad093cbbac2d32ec5f44f413052daa23d62 Mon Sep 17 00:00:00 2001 From: dmiller Date: Mon, 10 Nov 2014 16:16:27 +0000 Subject: [PATCH] Relax ssl-enum-ciphers' timeout to allow time for server processing --- scripts/ssl-enum-ciphers.nse | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/scripts/ssl-enum-ciphers.nse b/scripts/ssl-enum-ciphers.nse index a063f502c..45e1c6727 100644 --- a/scripts/ssl-enum-ciphers.nse +++ b/scripts/ssl-enum-ciphers.nse @@ -168,9 +168,9 @@ end local function try_params(host, port, t) - -- Use Nmap's own discovered timeout, doubled for safety - -- Default to 10 seconds. - local timeout = ((host.times and host.times.timeout) or 5) * 1000 * 2 + -- Use Nmap's own discovered timeout plus 5 seconds for host processing + -- Default to 10 seconds total. + local timeout = ((host.times and host.times.timeout) or 5) * 1000 + 5000 -- Create socket. local status, sock, err