mirror of
https://github.com/nmap/nmap.git
synced 2025-12-09 22:21:29 +00:00
Avoid an error thrown in ssl-enum-ciphers with connect problems
This commit is contained in:
@@ -598,6 +598,9 @@ local function find_ciphers_group(host, port, protocol, group, scores)
|
||||
t["ciphers"] = group
|
||||
|
||||
local records = try_params(host, port, t)
|
||||
if not records then
|
||||
return nil
|
||||
end
|
||||
local handshake = records.handshake
|
||||
|
||||
if handshake == nil then
|
||||
|
||||
Reference in New Issue
Block a user