diff --git a/scripts/flume-master-info.nse b/scripts/flume-master-info.nse index da9d17704..f55c6a5e6 100644 --- a/scripts/flume-master-info.nse +++ b/scripts/flume-master-info.nse @@ -202,6 +202,7 @@ action = function( host, port ) result[#result+1] = parse_page(host, port, env_uri, env_keys ) result[#result+1] = "Config: " result[#result+1] = parse_page(host, port, config_uri, config_keys ) + nmap.set_port_version(host, port) return stdnse.format_output(true, result) end end diff --git a/scripts/hadoop-secondary-namenode-info.nse b/scripts/hadoop-secondary-namenode-info.nse index 8f5991007..59da027d3 100644 --- a/scripts/hadoop-secondary-namenode-info.nse +++ b/scripts/hadoop-secondary-namenode-info.nse @@ -101,6 +101,7 @@ action = function( host, port ) table.insert(result, ("Checkpoint Period: %s"):format(stats[4])) table.insert(result, ("Checkpoint: Size %s"):format(stats[5])) end + nmap.set_port_version(host, port) if target.ALLOW_NEW_TARGETS then if stats[1]:match("([^][/]+)") then local newtarget = stats[1]:match("([^][/]+)")