mirror of
https://github.com/nmap/nmap.git
synced 2026-01-02 12:59:02 +00:00
[NSE] Scripts that are listed by name with the --script option now
have their verbosity level automatically increased by one. Many
will print negative results ("no infection found") at a higher
verbosity level. The idea is that if you ask for a script
specifically, you are more interested in such results.
This commit is contained in:
@@ -23,7 +23,10 @@ function have_ssl()
|
||||
|
||||
--- Returns the verbosity level as a non-negative integer.
|
||||
--
|
||||
-- The verbosity level can be set with the <code>-v</code> option.
|
||||
-- The verbosity level can be set with the <code>-v</code> option. When
|
||||
-- a script is given by name with the <code>--script</code> option, as
|
||||
-- opposed to being selected by default or by category, its verbosity
|
||||
-- level is automatically increased by one.
|
||||
-- @return The verbosity level.
|
||||
-- @usage if nmap.verbosity() > 0 then ... end
|
||||
function verbosity()
|
||||
|
||||
Reference in New Issue
Block a user