Nmap Development 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[1] suggests it is set to 0. could we update that with the patch at the end [1]http://nmap.org/nsedoc/lib/nmap.html#verbosityhttp://nmap.org/nsedoc/lib/nmap.html#verbosity 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-check: |_ Verbosity: 1 Nmap scan report for localhost (127.0.0.1) Host is up (0.000080s latency). PORT STATE SERVICE 35871/tcp open unknown Index: nmap.luadoc =================================================================== --- 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 function verbosity() --- Returns whether a script should be able to perform privileged operations _______________________________________________ Sent through the nmap-dev mailing list http://cgi.insecure.org/mailman/listinfo/nmap-dev Archived at http://seclists.org/nmap-dev/
Current thread:
- [NSE] nmap.verbosity() John Bond (Jun 16)
- Re: [NSE] nmap.verbosity() John Bond (Jun 16)
- Re: [NSE] nmap.verbosity() Djalal Harouni (Jun 16)
- Re: [NSE] nmap.verbosity() Djalal Harouni (Jun 16)
- Re: [NSE] nmap.verbosity() John Bond (Jun 16)