mirror of
https://github.com/nmap/nmap.git
synced 2025-12-14 19:59:02 +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
|
t["ciphers"] = group
|
||||||
|
|
||||||
local records = try_params(host, port, t)
|
local records = try_params(host, port, t)
|
||||||
|
if not records then
|
||||||
|
return nil
|
||||||
|
end
|
||||||
local handshake = records.handshake
|
local handshake = records.handshake
|
||||||
|
|
||||||
if handshake == nil then
|
if handshake == nil then
|
||||||
|
|||||||
Reference in New Issue
Block a user