mirror of
https://github.com/nmap/nmap.git
synced 2026-08-04 06:40:48 +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:
parent
fc4424ef21
commit
2123310bf8
2 changed files with 0 additions and 4 deletions
|
|
@ -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
|
||||
|
|
|
|||
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue