mirror of
https://github.com/nmap/nmap.git
synced 2025-12-25 17:09:02 +00:00
Variable is_ssl is not a flag but a protocol string. Fixes #1400
This commit is contained in:
@@ -44,7 +44,7 @@ action = function (host, port)
|
||||
return nil
|
||||
end
|
||||
socket:close()
|
||||
if is_ssl then
|
||||
if is_ssl == "ssl" then
|
||||
-- Unlikely, but we could have negotiated SSL already.
|
||||
port.version.service_tunnel = "ssl"
|
||||
nmap.set_port_version(host, port, "softmatched")
|
||||
|
||||
Reference in New Issue
Block a user