diff --git a/CHANGELOG b/CHANGELOG index 48eba1d65..ce9eaaedb 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,8 @@ # Nmap Changelog ($Id$); -*-text-*- +o [NSE] The dns-recursion script now marks the port when it gets a + response. This is a patch from Olivier M. + o [NSE] Improved smtp-commands.nse to work against more mail servers, made it take an smtp-commands.domain script argument, and rewrote it in the style of other smtp scripts. [Jason DePriest] diff --git a/scripts/dns-recursion.nse b/scripts/dns-recursion.nse index f10deaf4b..b3184d110 100644 --- a/scripts/dns-recursion.nse +++ b/scripts/dns-recursion.nse @@ -33,6 +33,8 @@ action = function(host, port) return end + nmap.set_port_state(host, port, "open") + -- parse response for dns flags if (bit.band(string.byte(result,3), 0x80) == 0x80 and bit.band(string.byte(result,4), 0x85) == 0x80)