Commit Graph

110 Commits

Author SHA1 Message Date
david f6c4c7d653 Add containers for the auto-generated lists of NSE modules and scripts to
scripting.xml.
2008-10-18 01:36:31 +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 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 3ff15bf16d Document the socket, pcap, and dnet functions in nselib/nmap.luadoc. 2008-10-16 20:33:23 +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 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 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 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
david 9d6c638dbb Change some wording in scripting.xml. 2008-10-09 03:52:25 +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
sven d8714befb1 merging nse_openssl branch 2008-10-08 22:21:41 +00:00
david c91f49ab80 Canonicalize an indexterm in scripting.xml. 2008-10-07 14:22:27 +00:00
sven 565a5ee3ed o Enhanced the tohex() function in the NSE stdnse library to support strings
and added options to control the formatting. [Sven]
2008-10-03 19:55:58 +00:00
david ebaf939f5f Make the http NSE module better handle different delimiters in the headers of
messages (and in the body when chunked encoding is used). The patch is from
jah.
2008-10-03 01:00:55 +00:00
fyodor d14e9345b3 Update a bunch of Nmap scan examples (sometimes required rescanning and/or changing surrounding text 2008-09-30 07:29:03 +00:00
david 681296f2c8 Bring back the section on compiled NSE modules and turn it into a how-to for
static modules.
2008-09-13 00:26:00 +00:00
david b491d82218 Document the external script category in docs/scripting.xml. 2008-09-09 17:01:12 +00:00
david b3eddfe90a Remove the nselib-bin directory. Almost all references to it have been removed
too. The section in scripting.xml about creating C modules is gone. (But maybe
it should be replaced with a tutorial on making static modules?) The only
places where nselib-bin is still referenced are in mswin32/nsis/Nmap.nsi, where
it is still removed on uninstallation; and in mswin32/nmap.vcproj, from where I
don't have the resources now to remove it.
2008-09-05 05:32:06 +00:00
fyodor 9af38870d3 fix some typos found by Eric Krosnes 2008-09-03 20:14:23 +00:00
david dacdf9409a Expand the sorting text to include all the letters of the index entry text when
using sortas in an index entry. Previously I had things like

<indexterm><primary sortas="nmap"><filename>.nmap</filename> filename extension</primary></indexterm>
<indexterm><primary sortas="nmap"><filename>.nmap</filename> directory</primary></indexterm>

which, because they have the same sort key, would result in one index entires
under either ".nmap filename extension" or ".nmap directory", with the page
numbers for both. Now I just spell out the full text: sortas="nmap filename
extension".
2008-08-30 00:15:09 +00:00
david 4cd828f92b Eliminate a spurious blank in scripting.xml caused by a line break inside an
emphasis element.
2008-08-29 22:15:25 +00:00
david a37d7cf903 Fix a filename in scripting.xml (nselib-bin vs. nselib). 2008-08-25 23:58:19 +00:00
pgpickering 442288feb2 documented new binlib data types 2008-08-21 08:06:59 +00:00
david b4c60f49e5 Canonicalize capitalization of protocol names. Generally we use capitalized forms in probes. When quoting from Nmap output we use whatever Nmap uses and enclose it in <literal> or similar tags. 2008-08-20 03:37:59 +00:00
fyodor bc3dbbabc9 Apply nsedoc system details written by Patrick 2008-08-18 07:09:08 +00:00
david 98b796b517 Remove a spurious blank in the output caused by a newline in scripting.xml. 2008-08-05 21:28:36 +00:00
david deeaaf9e77 Remove a mention of pcre.so from scripting.xml. 2008-08-05 16:44:08 +00:00
batrick 1f7c51a85d Reverted a change made to mutex("running") documentation concerning the
return value (someone changed it to "returns an identification string"
when in fact it returns a thread).
2008-08-02 21:21:33 +00:00
fyodor a2c8e87ddf fix wrong function name noted by Tom Sellers 2008-07-30 00:27:59 +00:00
kris a285f82299 o The NSE Comm library now defaults to trying to read as many bytes as are
available rather than lines if neither the "bytes" nor "lines" options are
  given.  Thanks to Brandon for reporting a problem which he noticed in the
  dns-test-open-recursion script. [Kris]
2008-07-28 01:47:26 +00:00
fyodor 5f75bb7dd2 fix a wrong function name, noted by Matthew Boyle 2008-07-23 07:31:56 +00:00
fyodor 8f90946c0f fix some typos notest by João Medeiros 2008-07-23 03:07:55 +00:00
david 6d41534dee Fix a duplicate word: "We designed NSE to to versatile". 2008-07-17 14:48:47 +00:00
fyodor 97ebf72f84 minor updates 2008-07-15 23:49:53 +00:00
bmenrigh c123984aa5 Minor wording changes to improve the flow of the opening few
paragraphs.  I'll be going through the rest of the chapter if time
permits.
2008-07-15 19:36:08 +00:00
fyodor 10d136939b some more changes from jah 2008-07-15 01:10:35 +00:00
fyodor 187fe5c506 a bunch of updates from jah 2008-07-15 00:50:36 +00:00
fyodor 8e1102ed27 proofreading changes from Eric Krosnes 2008-07-14 21:06:52 +00:00
fyodor 7bc9b524cd apply some edits from Kris Katterjohn <katterjohn@gmail.com> 2008-07-14 07:12:10 +00:00
david f8a9054ffd Use abbreviated xrefs when they are close to the things they reference. 2008-07-14 06:36:23 +00:00
fyodor 1f3082b1db canonicalize figure/example/table title capitalization 2008-07-14 02:42:09 +00:00
david 6631bfd608 Judiciously add quotes around certain index terms, because <quote>, <literal>,
and <varname> don't survive into the index.
2008-07-13 21:05:32 +00:00
david 83e1367a7f Spell check the documentation with aspell. 2008-07-13 16:51:10 +00:00
david e999e05ca0 Change a few occurrences of "./nmap" to "nmap". 2008-07-13 16:01:29 +00:00
fyodor 3206168fb8 revert 8824 to give us a bit more time to think about what to do about service name capitalization 2008-07-13 09:11:22 +00:00
david 4177a54479 Convert protocol names to lower case. 2008-07-13 08:33:48 +00:00