1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-07 13:11:28 +00:00
Commit Graph

163 Commits

Author SHA1 Message Date
fyodor
55220e7730 a few minor/spelling/typo changes suggested by Eric Krosnes 2008-11-11 20:36:31 +00:00
fyodor
692839d4e5 Replace example script scan with a newer one which also doesn't use old (removed) ripeQuery script. Change paragraph describing the example too. 2008-11-11 07:12:05 +00:00
fyodor
a3ae47ec82 Reduce length of skypev2 version detection script to fit better on page (removing blank lines, etc.) and rewrite a poorly-rendered line 2008-11-10 22:49:52 +00:00
david
6bcb9f7e7d Put </programlisting> in the first column in an example in scripting.xml to
avoid a trailing blank line.
2008-11-10 20:16:45 +00:00
david
9fc1305118 Remove a duplicate index term. 2008-11-10 18:20:39 +00:00
david
799443a215 Get rid of a couple of duplicate words in scripting.xml. 2008-11-10 17:46:46 +00:00
fyodor
3e414a5db7 fix up some id names 2008-11-10 01:32:52 +00:00
david
21ade2bae7 Fix a few one-character errors in scripting.xml. 2008-11-09 14:59:43 +00:00
fyodor
1f74b2361c Woohoo! Doen editing Ch9. 2008-11-08 11:39:48 +00:00
fyodor
6aa82f606d edited the section Adding C Modules to Nselib, and moved it from Implementation Details into the NSE Libraries section 2008-11-08 10:11:04 +00:00
fyodor
ce2ff40265 Edit more sections. Now all that remains is the final sect1, Implementation Details 2008-11-08 09:09:47 +00:00
fyodor
a70a3b9217 completed edits of more sections. Up to, but not yet including, Version Detection Using NSE. 2008-11-08 06:49:18 +00:00
david
2df024fe55 Add a missing parenthesis in scripting.xml. 2008-11-07 22:54:20 +00:00
fyodor
c272ad25b7 a bit more reorg of registry section 2008-11-07 22:13:27 +00:00
fyodor
04bc000dec Rewrite most of the registry section. Also standardized on lowercase as in 'the registry' or 'NSE registry'. It seems like a proper noun so I was planning to capitalize. But lowercase seems to be used just as often for the Windows registry -- even MS does so at http://support.microsoft.com/kb/256986. Wikipedia is inconsistent, but tends to lowercase the Windows registry. 2008-11-07 22:06:53 +00:00
fyodor
da08bf8a0d edits to exception handling section - next up is the Registry 2008-11-07 21:26:56 +00:00
fyodor
963e9d8e19 remove text about the registry being rebuilt for every group, as that is something we will likely fix soon 2008-11-07 20:09:48 +00:00
david
2b79162d61 Fix a few typos, a probable typo ("as the time of this writing" -> "at the time
of this writing", and put "script" at the end of index terms that refer to
scripts whose source is in the text.
2008-11-07 15:38:09 +00:00
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
david
824ee3c257 Small typo fixes from spell checking. 2008-11-07 01:03:00 +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
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
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
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
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