mirror of
https://github.com/nmap/nmap.git
synced 2026-08-03 22:29:06 +00:00
Variable is_ssl is not a flag but a protocol string. Fixes #1400
This commit is contained in:
parent
3a240371fc
commit
f0dd1b8c8d
1 changed files with 1 additions and 1 deletions
|
|
@ -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")
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue