1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-25 23:59:01 +00:00
Commit Graph

3024 Commits

Author SHA1 Message Date
david
ca933f1cbb Use explicit line breaks in the @usage section of scripts/whois.nse. This keeps
the lines from getting too long when rendered verbatim.
2008-10-20 18:53:46 +00:00
david
5a34d64f8e Fix a test condition in the ICMP response checking code for ping scans. A test
that should have fired whenever !USI->ptech.rawprotoscan wrongly had the
additional condition && o.debugging, meaning that it worked properly only when
debugging was enabled. See http://seclists.org/nmap-dev/2008/q4/0130.html and
http://seclists.org/nmap-dev/2008/q4/0206.html for problem reports.
2008-10-20 16:52:42 +00:00
david
02d35294c3 Change the Zenmap keyboard shortcut for "Save to Directory" from Ctrl+v to
Ctrl+Alt+s so as not to conflict with the usual paste shortcut. Suggestion by
Michael, patch by Jah.
2008-10-20 02:56:10 +00:00
david
7c32907cac Make Nmap quit when it gets a "backwards" port range like -p 20-10. 2008-10-20 01:58:58 +00:00
david
976a27755d Add line breaks to the code example in openssl.luadoc. 2008-10-19 00:38:02 +00:00
jah
eacb951209 Fixed typos for some nsedoc tag names:
INFO processing file `nselib/datafiles.lua'
ERROR undefined handler for tag `type'
INFO processing file `nselib/dns.lua'
ERROR undefined handler for tag `result'
ERROR undefined handler for tag `result'
INFO processing file `nselib/netbios.lua'
ERROR undefined handler for tag `returns'
INFO processing file `nselib/snmp.lua'
ERROR undefined handler for tag `result'
INFO processing file `scripts/SSLv2-support.nse'
ERROR undefined handler for tag `ouput'

Removed a @see tag which refers to Lua's string.format rather than to NSE docs:
INFO generating file `docs/modules/stdnse.html'
ERROR unresolved reference to symbol `string.format'
2008-10-18 20:49:00 +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
fyodor
2c650269ec o Fixed a bug which caused Nmap to infer an improper distance against
some hosts when performaing OS detection against a group whose
  distance varies between members. [David, Fyodor]
2008-10-17 21:20:52 +00:00
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 &lt;&gt; 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