fyodor
b3c181273e
rewrote/reorganized much of Thread Mutexes. Next will come Exception Handling
2008-11-07 10:55:44 +00:00
fyodor
d8efd99ede
rewrite much of 'Raw packet network I/O section'. Next comes 'Thread Mutexes'.
2008-11-07 10:23:53 +00:00
fyodor
81f8cde599
missed on tiny change due to forgetting to save emacs buffer
2008-11-07 09:59:10 +00:00
fyodor
41d3087195
big scripting.xml cleanup, but only up to the 'Raw packet network I/O' section so far. I'm starting that setion next
2008-11-07 09:58:47 +00:00
fyodor
75e11edf2c
note that --packet-trace enables --script-trace too
2008-11-07 08:59:41 +00:00
david
d082ff870f
Adjust the --script-args example to use args from the whois script, not
...
anonFTP. Remove a mention of script ids.
2008-11-07 05:32:04 +00:00
david
824ee3c257
Small typo fixes from spell checking.
2008-11-07 01:03:00 +00:00
fyodor
cfb9678a60
latest generated man pages
2008-11-06 07:23:11 +00:00
david
1ff973e495
Update script names in scripting.xml.
2008-11-06 03:39:33 +00:00
david
02ff37d490
Update the script args example to use whois instead of anonFTP; anonFTP doesn't
...
take any args, let alone a table.
2008-11-06 03:12:58 +00:00
david
4863d506c1
Remove script ids. Scripts are identified by file name in output (just the
...
basename without ".nse", or the full path with debugging level 2 or higher).
This includes documentation changes in scripting.xml.
2008-11-05 00:52:55 +00:00
david
c72fb10acc
Make some more little proofreading changes in scripting.xml.
2008-11-04 23:58:57 +00:00
david
746d58b754
Fix some awkward wording and escape <code> in an NSEDoc example (otherwise
...
DocBook interprets the tags).
2008-11-04 23:53:30 +00:00
david
4a70a4f2f6
Update a script description excerpt in scripting.xml.
2008-11-04 23:45:16 +00:00
david
ea29e71ede
Spell out a couple more numbers 0-9, some that had a left parenthesis before
...
them.
2008-11-04 23:37:35 +00:00
david
3b656d8245
Spell out some more numbers 0-9 I found, in constructions like "8-bit" and
...
"3-way handshake". I grepped for " [0-9]-" and "^[0-9]-".
2008-11-04 23:32:06 +00:00
david
62a5a02abd
Remove a mention of showSSHVersion.nse and update the text around the "typical
...
NSE example" to refer to the scripts whose output is shown.
2008-11-04 22:54:07 +00:00
david
14fc84bd49
Update finger.nse in scripting.xml to match the latest version of the script.
...
Also take the example script out of a sect2 and put it directly in the
enclosing sect1 (the sect1 was empty except for the sect2).
2008-11-04 22:47:17 +00:00
david
00b8d455c3
Add missing <filename></filename> tags around a script name in scripting.xml.
2008-11-04 22:03:47 +00:00
david
8a6106529a
Put a link to the online NSEDoc portal at the beginning of the list of
...
libraries in scripting.xml.
2008-11-04 05:13:27 +00:00
david
30d86e3cb0
Add a missing space in refguide.xml.
2008-10-31 18:20:12 +00:00
david
471310ae3f
Remove a blank section for --max-rate that was left when its contents were
...
merged with those of the --min-rate section.
2008-10-30 19:22:17 +00:00
david
f8b4fc4cc1
Fix a couple of duplicate words found with the duplicate-words script.
2008-10-30 17:28:14 +00:00
fyodor
8734956cf3
Did an audit throughout the book and changed a bunch of numbers 0-9 to write out zero through nine. I guess this is more consistant, but I'm not sure it is any better. Shrug.
2008-10-29 08:31:55 +00:00
fyodor
bd18974ef8
rename the nse-library sect1 from 'Lua Extensions' to 'NSE Libraries' (more descriptive and better matches 'NSE Scripts' section). Also moved the Scripts section before Libraries. Emphasized the name libraries more than modules. Renamed nmap-scripts-list ID to nmap-scripts, which required moving the former nmap-scripts to nmap-script-format.
2008-10-29 01:25:10 +00:00
fyodor
f28c28af10
include extra info about fragmentation
2008-10-29 01:01:45 +00:00
david
2f627728a5
Fix a typo in scripting.xml: newsocket -> new_socket.
2008-10-27 21:26:35 +00:00
david
49843daf56
Update some code excerpts in docs/scripting.xml. Make small changes to
...
scripts/showOwner.nse for the purpose of better presentation. Remove the subtle
bug in the portrule example. We shouldn't put bad examples in print.
2008-10-27 17:52:50 +00:00
david
9ff7acfe0e
Put empty parens after a few function names in scripting.xml; I think that's
...
the style we use.
2008-10-27 16:24:09 +00:00
david
0cba98422c
Remove a space that was causing another spurious blank line in a programlisting.
2008-10-27 16:21:41 +00:00
david
3f678cee17
Move the section on NSEDoc of C modules from its own section to a paragraph in
...
the section where the examples of NSEDoc are shown. Reword some things. Mention
that @name as well as @class is needed to document tables.
2008-10-27 16:19:16 +00:00
david
6ecda0239c
Improve idnexing in "Script Documentation Writing."
2008-10-27 15:45:41 +00:00
david
aac3a4e0ad
Polish some markup in scripting.xml. Index ".luadoc".
2008-10-27 15:31:38 +00:00
david
f742c50008
Move some <programlisting> tags to the first column to avoid spurious blank
...
lines at the end. Expand tabs to spaces in the "Version Detection Using NSE"
example; otherwise tabs become single spaces in PDF output.
2008-10-27 15:21:33 +00:00
batrick
9d45c24835
Updated NSEDoc C module documentation. Merged David's paragraph on the topic
...
with mine.
2008-10-25 03:58:52 +00:00
david
879b33ad75
Replace showHTTPVersion.nse in scripting.xml with skype_v2-version.nse, a
...
better example of a version-detection script. I made a few small changes to the
script: shortening long lines and removing some non-functional ones. See
http://seclists.org/nmap-dev/2008/q4/0311.html .
2008-10-25 01:20:04 +00:00
david
99de55975c
Add an introductory paragraph to the "NSE Scripts" section of scripting.xml
...
explaining that the docs are generated with NSEDoc and pointing to the online
documentation for the latest.
2008-10-24 22:11:02 +00:00
david
58389ab64b
Remove a reference to running --script without any arguments. --script requires
...
an argument:
# nmap target --script >/dev/null
nmap: option `--script' requires an argument
You can use --script= but that's weird enough not to need to be mentioned.
2008-10-24 21:10:42 +00:00
batrick
09f1bae240
Added C module NSEDoc generation documentation.
2008-10-24 17:35:01 +00:00
fyodor
8532de4a49
apply a bunch of proofreading suggestions from Dan Henage
2008-10-24 08:55:17 +00:00
david
1cf11d305c
Update scripting.xml to document new NSE documentation markup. Include some
...
more examples. Note that using the special NSE documentation variables is
prefereable to using documentation comment tags in scripts.
2008-10-24 00:20:47 +00:00
david
8b08de8e65
Remove a reference to the deleted echoTest.nse script from the documentation.
...
Replace it with SSH-hostkey.nse, another "safe" category script.
2008-10-23 17:11:49 +00:00
david
837c1e95ca
Make a few script documentation whitespace changes.
2008-10-20 23:45:33 +00:00
david
b80804c311
Take nse-modules and nse-scripts out of variablelist containers; they are
...
rendered more like sections now.
2008-10-20 18:56:57 +00:00
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