jah
55ded906f2
Fix a problem, reported by David, which resulted in an error arising from an
...
unexpected value for the "data" table after repeating queries at the same
service for the same IP (which should not ever happen).
2009-05-01 23:35:44 +00:00
david
22a77a865c
Use host.ip, not just (undefined) ip in whois.nse exception error
...
messages. Instead of handling an error nicely, it caused a format string
error of its own:
./nselib/stdnse.lua:61: bad argument #3 to 'format' (string expected, got nil)
It seems that a deadlock happens immediately after one of these errors
occurs. This change doesn't fix the deadlock but allows the underlying
error message to be printed.
2009-04-29 23:33:44 +00:00
jah
17595d5f03
Removed an erroneous argument to a print_debug statement.
2008-11-14 20:57:45 +00:00
fyodor
cdfac4d6b2
spell check: recognise -> recognize
2008-11-11 20:33:48 +00:00
david
a709967cdd
Spell check script documentation.
2008-11-11 05:16:10 +00:00
david
5f166e19ec
Don't use empty parentheses when referring to functions by name in NSE
...
documentation.
2008-11-07 22:49:49 +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
f8b4fc4cc1
Fix a couple of duplicate words found with the duplicate-words script.
2008-10-30 17:28:14 +00:00
david
84afa54d3a
Update and proofread documentation of all the scripts, with the exception of
...
nbstat.nse and smb-*.nse, which Ron is going to do.
2008-10-25 03:11:25 +00:00
david
3ee17ecb5c
Fix NSEDoc error messages, except for some "documenting undefined parameter"
...
that happen when one function is defined to be another by assignment.
2008-10-24 17:05:40 +00:00
david
b03230218d
Commit a few NSE documenation changes I made while testing the new markup
...
parser; they work now.
2008-10-22 23:31:47 +00:00
david
837c1e95ca
Make a few script documentation whitespace changes.
2008-10-20 23:45:33 +00:00
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
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
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
david
06c7264e2e
Put the following scripts in the new "external" category:
...
ASN.nse
dns-safe-recursion-port.nse
dns-safe-recursion-txid.nse
ripeQuery.nse
whois.nse
2008-09-09 05:13:24 +00:00
david
04be9da7ed
Remove the duplicated ipOps functions from ASN.nse and whois.nse and have them
...
use the ipOps library instead.
2008-09-06 03:29:49 +00:00
fyodor
dd1e76c2a7
o Added whois.nse, which queries the Regional Internet Registries
...
(RIRs) to determine who the target IP addresses are assigned
to. [Jah]
2008-09-05 18:43:27 +00:00