From feb691f5340ba3a963b1806eebadcc513fc02153 Mon Sep 17 00:00:00 2001 From: david Date: Wed, 21 Sep 2011 22:50:01 +0000 Subject: [PATCH] Only show the "other options" in quake3-info with -v. --- scripts/quake3-info.nse | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/scripts/quake3-info.nse b/scripts/quake3-info.nse index dbdefb27a..58a92f34a 100644 --- a/scripts/quake3-info.nse +++ b/scripts/quake3-info.nse @@ -224,6 +224,8 @@ action = function(host, port) local response = {} table.insert(response, formatplayers(players, fraglimit)) table.insert(response, formatfields(basic, "BASIC OPTIONS:")) - table.insert(response, formatfields(other, "OTHER OPTIONS:")) + if nmap.verbosity() > 0 then + table.insert(response, formatfields(other, "OTHER OPTIONS:")) + end return stdnse.format_output(true, response) end