mirror of
https://github.com/nmap/nmap.git
synced 2025-12-28 02:19:04 +00:00
o The NSE Comm library now defaults to trying to read as many bytes as are
available rather than lines if neither the "bytes" nor "lines" options are given. Thanks to Brandon for reporting a problem which he noticed in the dns-test-open-recursion script. [Kris]
This commit is contained in:
@@ -53,7 +53,7 @@ action = function(host, port)
|
||||
payload = payload .. "\000\000\000\000" -- padding for vendor name
|
||||
|
||||
local try = nmap.new_try()
|
||||
local response = try(comm.exchange(host, port, payload, {bytes=1, timeout=5000}))
|
||||
local response = try(comm.exchange(host, port, payload, {timeout=5000}))
|
||||
|
||||
local result
|
||||
|
||||
|
||||
Reference in New Issue
Block a user