mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 14:49:29 +00:00
Renamed variable to better reflect its nature
This commit is contained in:
parent
f0dd1b8c8d
commit
f893372ddd
1 changed files with 2 additions and 2 deletions
|
|
@ -38,13 +38,13 @@ action = function (host, port)
|
|||
end
|
||||
if #responses == 0 then
|
||||
-- Have to send the probe ourselves.
|
||||
local socket, result, is_ssl = comm.tryssl(host, port, "GET / HTTP/1.0\r\n\r\n")
|
||||
local socket, result, proto = comm.tryssl(host, port, "GET / HTTP/1.0\r\n\r\n")
|
||||
|
||||
if (not socket) then
|
||||
return nil
|
||||
end
|
||||
socket:close()
|
||||
if is_ssl == "ssl" then
|
||||
if proto == "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