david
6e69be898a
Small NSE documentation fixes: "nmap-protocol" -> "nmap-protocols" in
...
datafiles.lua, and remove not-too-relevant vulnerability IDs from
dns-test-open-recursion.nse.
2008-10-17 19:22:06 +00:00
david
dafa60743b
Break description summaries in http.lua into their own paragraphs.
2008-10-16 23:37:54 +00:00
david
9568b22e68
Make some NSEDoc updates in scripts/whois.nse. Use <> instead of <> and
...
use the @field tag in table documentation comments.
2008-10-16 23:29:25 +00:00
david
33fa3914d4
Mention that scripts matching a hostrule get only a host table, and script
...
matching a portrule get both a host and a port table. I didn't find that
documented anywhere else.
2008-10-16 23:09:18 +00:00
david
dfbbbf9e9a
Write a short overview of connect-style I/O and include an example. Rewrite the
...
section on raw sockets in NSE.
2008-10-16 23:04:50 +00:00
david
c1b3ea6db3
Remove a line of dead code.
2008-10-16 22:54:37 +00:00
david
06b661f2ef
Fix the documentation for nmap.new_try, because it was incorrect. The result of
...
nmap.new_try is not a function accepting another function, it is a function
taking a variable number of arguments, assumed to be the return value of some
function. In other words, the returned try function is not responsible for
running other functions, it only sees their return values.
2008-10-16 22:21:08 +00:00
david
aa87f1db15
Fix the creation of an exception handler in anonFTP.nse. I changed
...
nmap.new_try(err_catch())
to
nmap.new_try(err_catch)
The first statement calles new_try with the result of calling the err_catch
function, which is nil, when what is wanted is to call new_try with the
function itself as an argument.
2008-10-16 21:58:59 +00:00
david
3ff15bf16d
Document the socket, pcap, and dnet functions in nselib/nmap.luadoc.
2008-10-16 20:33:23 +00:00
fyodor
3415425322
applied a bunch of spelling/typo fixes sent in by Armin Mueller
2008-10-16 20:24:38 +00:00
david
77374fb284
Merge and format documentation for functions in nselib/nmap.luadoc. A lot of
...
functions are missing, notable the socket methods. I'll add those next.
2008-10-16 17:28:12 +00:00
david
16052f05e5
Add an example of testing for the availability of the openssl module in
...
nselib/openssl.luadoc.
2008-10-16 17:04:06 +00:00
sven
1f726dd386
do not use try() in ssh1 and ssh2 library because a network error occurring in the library would otherwise stop the complete script
2008-10-16 11:05:52 +00:00
david
0ec5373496
Add a period at the end of the first paragraph in nselib/pcre.luadoc. This
...
makes the current summarizer extract just that for the summary.
2008-10-16 04:17:18 +00:00
david
2ab20dcd4b
Remove a cross reference from scripting.xml that was broken since the module
...
documentation was removed.
2008-10-16 04:15:54 +00:00
david
c30776fec7
Add luadoc files for openssl and pcre. That finishes the modules in the section
...
"Lua Extensions", which is now just a stub.
2008-10-16 04:08:53 +00:00
david
99c30b1d1b
Merge documetation for unpwdb, url, bit, tab, base64, and bin.
2008-10-16 03:18:03 +00:00
david
6dde8008d7
Add
...
module "bit"
to nselib/bit.luadoc. That makes it show up in the generated documentation.
2008-10-16 02:59:51 +00:00
david
f58f559b81
Reformat and merge documentation for stdnse, shortport, strbuf, snmp, ssh1,
...
ssh2, smb, pop3, and msrpc.
2008-10-16 00:38:53 +00:00
david
a31f0890d5
Document the packet NSE module.
2008-10-15 23:09:51 +00:00
david
12e34eb5b0
Reformat and merge documentation for some NSE modules: comm, datafiles, dns,
...
http, ipOps, listop, and match. This is mainly merging the best documentation
from the module source and scripting.xml into the module, with the aim of
making the source code the canonical source for module documentation.
2008-10-15 22:03:14 +00:00
batrick
4b17b36913
Added unpwdb library documentation.
2008-10-15 20:36:24 +00:00
fyodor
a51762f4e0
just sorting changes
2008-10-15 10:41:49 +00:00
fyodor
b4b97c8743
add refmiscinfo source and manual fields as they are needed for the nroff generation to prevent the xsl stylesheets from adding ugly FIXME entries
2008-10-15 10:41:11 +00:00
fyodor
5c6c5959e3
regenerate man pages with latest Docbook XSL stylesheets and updated build process (which now generates ncat man pages too)
2008-10-15 10:39:51 +00:00
david
8bd71aaf43
Normalize NSEDoc documentation of scripts.
...
I made every script follow a standard form: it starts with the id, followed by
the description. The description is contained in [[ ]] delimiters. The
description is in the global description variable, not in a LuaDoc comment.
Other LuaDoc information such as @args and @usage follows the description in a
comment.
The first paragraph of each description is a a short summary of what the script
does. More detailed information, if any, is given in following paragraphs.
I also improved some wording and formatting in a few cases.
2008-10-14 20:52:50 +00:00
fyodor
1508da5acc
fix an error message--specifying timeout values in days is not actually supported
2008-10-13 05:07:13 +00:00
sven
5d12eb7a3d
add missing local reference to error() to stdnse
2008-10-12 18:39:00 +00:00
sven
841ab6647a
show meaningful error messages on OpenSSL errors
2008-10-12 13:47:44 +00:00
batrick
8eb929d868
Fixed documentation error.
2008-10-10 13:17:39 +00:00
sven
809784ed20
use shortport library in ircServerInfo script
2008-10-10 10:45:21 +00:00
sven
375f34f0ca
use shortport library in PPTPversion script
2008-10-10 10:41:20 +00:00
sven
b9d76ac933
add changelog entry for new openssl NSE library
2008-10-10 07:08:41 +00:00
sven
ece81da41a
add linebreaks to @output section of rpcinfo and SSH-hostkey script
2008-10-10 06:27:10 +00:00
david
9d6c638dbb
Change some wording in scripting.xml.
2008-10-09 03:52:25 +00:00
david
2f1898fe49
Whoops, SSH-weak_key.nse isn't a merged script. I just had an unversioned copy in my scripts directory. Remove it from script.db.
2008-10-09 00:45:42 +00:00
david
9ed44c721b
Proofread and index the scripting.xml documentation on the openssl NSE module.
2008-10-09 00:26:46 +00:00
david
367274bf35
Update the section on compiled NSE modules to refer to the openssl module
...
rather than the hash module.
2008-10-08 23:51:28 +00:00
david
cb00282519
--update-scriptdb to add SSH-hostkey.nse and SSH-weak_key.nse.
2008-10-08 23:10:33 +00:00
david
e7cc30b6c2
Make some changes to allow a Windows build of the new openssl code. (Just
...
rearragement of some includes and defines.)
2008-10-08 22:58:29 +00:00
david
66c775ad96
Remove some commented-out code from mswin32/nsis/Nmap.nsi that associated the
...
file extension .usr with Zenmap. We don't use .usr any more.
2008-10-08 22:51:05 +00:00
sven
d8714befb1
merging nse_openssl branch
2008-10-08 22:21:41 +00:00
david
70bfb42915
Add to CHANGELOG:
...
o [Zenmap] Host information windows are now like any other windows,
and will not become unclosable by having their controls offscreen.
Thanks to Robert Mead for the bug report.
2008-10-08 21:00:23 +00:00
david
ddb66f1c07
Revert r10335, which had the NSE loader track require errors and handle them
...
specially. This was to hide the any errors raised by scripts using an openssl
module when OpenSSL itself wasn't available. For now this will be handled by
having each script check for openssl.
2008-10-08 16:46:12 +00:00
david
9bd8b7b399
Add a few "see" indexterms to refguide.xml.
2008-10-08 01:23:17 +00:00
david
3191e09595
Remove a duplicate paragraph in refguide.xml. The paragraph about port
...
selection wildcards was under the idle scan heading also.
2008-10-08 00:07:10 +00:00
david
c91f49ab80
Canonicalize an indexterm in scripting.xml.
2008-10-07 14:22:27 +00:00
sven
8f83450228
revert tonumber() conversion in stdnse.tohex() because tonumber() discards whitespace
2008-10-07 07:28:10 +00:00
fyodor
840b276b6c
From Jason R. DePriest:
...
Fixed it to normalize the line endings before replacing them with
commas and I have it remove extra spaces.
2008-10-07 03:54:46 +00:00
batrick
2c6554a435
Updated stdnse.tohex() to coerce strings to numbers if possible for the first
...
argument. That is, the first argument is interpretted as a number if possible.
2008-10-07 02:24:31 +00:00