mirror of
https://github.com/nmap/nmap.git
synced 2026-05-13 16:57:06 +00:00
Restore verbosity boost for by-name scripts, broken in r33104
This commit is contained in:
parent
e441e2a81d
commit
fa65ff04d0
1 changed files with 6 additions and 0 deletions
|
|
@ -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
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue