mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Avoid an error thrown in ssl-enum-ciphers with connect problems
This commit is contained in:
parent
5391960515
commit
66fb5fba22
1 changed files with 3 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue