Nmap Development mailing list archives

Re: [nse] weird nsedoc generation for xmpp-info and xmpp-brute


From: Vasiliy Kulikov <segooon () gmail com>
Date: Wed, 14 Sep 2011 21:06:51 +0400

On Wed, Sep 14, 2011 at 10:00 -0700, David Fifield wrote:
On Wed, Sep 14, 2011 at 08:33:52PM +0400, Vasiliy Kulikov wrote:
There are weird lines related to smb* on xmpp-* pages, just before
"Example Usage":

http://nmap.org/nsedoc/scripts/xmpp-brute.html
http://nmap.org/nsedoc/scripts/xmpp-info.html

"smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername
See the documentation for the smbauth library."

I wonder how it could be generated from xmpp-*.nse, they finish nsedoc
with lines unrelated to smb*:

-- @args xmpp-info.alt_server_name If set, overwrites alternative hello name sent to the server.
--       This name should differ from the real DNS name.  It is used to find out whether
--       the server refuses to talk if a wrong name is used.  Default is ".".
-- @args xmpp-info.no_starttls If set, disables TLS processing.

A bug in html pages generator?

It's because xmpp includes smbauth through sasl. NSEDoc pages show
script arguments for all libraries used, even recursively.

Ah, understood.  However, resursive arguments addition confuses a bit in
this specific case.

Anyway, thanks!

-- 
Vasiliy
_______________________________________________
Sent through the nmap-dev mailing list
http://cgi.insecure.org/mailman/listinfo/nmap-dev
Archived at http://seclists.org/nmap-dev/


Current thread: