1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 09:49:05 +00:00

Restore verbosity boost for by-name scripts, broken in r33104

This commit is contained in:
dmiller
2014-07-31 05:34:17 +00:00
parent e441e2a81d
commit fa65ff04d0

View File

@@ -736,6 +736,12 @@ local function get_chosen_scripts (rules)
if T:match(rule) then
used_rules[rule] = true;
script_params.forced = not not forced_rules[rule];
if selected_by_name then
script_params.selection = "name"
script_params.verbosity = true
else
script_params.selection = "category"
end
local t, path = cnse.fetchscript(filename);
if t == "file" then
if not files_loaded[path] then