Check for connected socket before continuing

This commit is contained in:
dmiller 2024-04-25 17:12:27 +00:00
parent 0b89ae00c0
commit 1c751cf6d3

View file

@ -114,6 +114,9 @@ action = function(host, port)
socket = do_connect(host, port, domain)
end
end
if not socket then
return nil
end
socket:send("AUTH NTLM\r\n")
local status, response = socket:receive()