mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 08:46:45 +00:00
Check for connected socket before continuing
This commit is contained in:
parent
0b89ae00c0
commit
1c751cf6d3
1 changed files with 3 additions and 0 deletions
|
|
@ -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()
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue