mailing list archives
Re: [NSE] nmap.verbosity()
From: John Bond <john.r.bond () gmail com>
Date: Sat, 16 Jun 2012 13:09:03 +0200
On 16 June 2012 12:51, John Bond <john.r.bond () gmail com> wrote:
Have i made a stupid error?
Yes, i was running nmap as follows
nmap --script verbosity-check.nse -v -p 35871 localhost
which is obvious from the output. however running the following shows
that verbosity is set to one by default but the documentation
suggests it is set to 0. could we update that with the patch at the
nmap --script verbosity-check.nse -p 35871 localhost
Starting Nmap 6.01 ( http://nmap.org ) at 2012-06-16 13:03 CEST
Pre-scan script results:
|_ Verbosity: 1
Nmap scan report for localhost (127.0.0.1)
Host is up (0.000080s latency).
PORT STATE SERVICE
35871/tcp open unknown
--- nmap.luadoc (revision 28967)
+++ nmap.luadoc (working copy)
@@ -29,7 +29,7 @@
-- 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
+-- @usage if nmap.verbosity() > 1 then ... end
--- Returns whether a script should be able to perform privileged operations
Sent through the nmap-dev mailing list
Archived at http://seclists.org/nmap-dev/