From 2123310bf892ce93be430c322efd48c0372aa755 Mon Sep 17 00:00:00 2001 From: kris Date: Sat, 13 Sep 2008 17:20:17 +0000 Subject: [PATCH] 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. --- scripts/dns-safe-recursion-port.nse | 2 -- scripts/dns-safe-recursion-txid.nse | 2 -- 2 files changed, 4 deletions(-) diff --git a/scripts/dns-safe-recursion-port.nse b/scripts/dns-safe-recursion-port.nse index bf1f843f7..f3a899a53 100644 --- a/scripts/dns-safe-recursion-port.nse +++ b/scripts/dns-safe-recursion-port.nse @@ -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 diff --git a/scripts/dns-safe-recursion-txid.nse b/scripts/dns-safe-recursion-txid.nse index 44a47c859..feff29800 100644 --- a/scripts/dns-safe-recursion-txid.nse +++ b/scripts/dns-safe-recursion-txid.nse @@ -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