mirror of
https://github.com/nmap/nmap.git
synced 2025-12-27 18:09:01 +00:00
Remove comment and bytes=1 from dns-safe-recursion*.nse. The scripts were
sent to nmap-dev before the Comm update to default to bytes=1, but added after the change. I tested the scripts out and they still work fine of course.
This commit is contained in:
@@ -58,9 +58,7 @@ action = function(host, port)
|
||||
0x00, 0x10, -- Type (TXT)
|
||||
0x00, 0x01) -- Class (IN)
|
||||
|
||||
-- This doesn't work without the bytes= setting...
|
||||
local status, result = comm.exchange(host, port, query, {proto="udp",
|
||||
bytes=1,
|
||||
timeout=20000})
|
||||
|
||||
-- Fail gracefully
|
||||
|
||||
Reference in New Issue
Block a user