mirror of
https://github.com/nmap/nmap.git
synced 2025-12-06 04:31:29 +00:00
Check for connected socket before continuing
This commit is contained in:
@@ -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()
|
||||
|
||||
Reference in New Issue
Block a user