1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-23 16:09:02 +00:00

Relax ssl-enum-ciphers' timeout to allow time for server processing

This commit is contained in:
dmiller
2014-11-10 16:16:27 +00:00
parent e806585cdd
commit 4e3baad093

View File

@@ -168,9 +168,9 @@ end
local function try_params(host, port, t) local function try_params(host, port, t)
-- Use Nmap's own discovered timeout, doubled for safety -- Use Nmap's own discovered timeout plus 5 seconds for host processing
-- Default to 10 seconds. -- Default to 10 seconds total.
local timeout = ((host.times and host.times.timeout) or 5) * 1000 * 2 local timeout = ((host.times and host.times.timeout) or 5) * 1000 + 5000
-- Create socket. -- Create socket.
local status, sock, err local status, sock, err