batrick
3016193c11
Improvements to the nmap library. See [1] for discussion and a full listing of
...
the changes.
[1] http://seclists.org/nmap-dev/2008/q4/0663.html
2008-12-29 21:59:08 +00:00
jah
3fb2b96f78
Fix a couple of typos in openssl.luadoc:
...
Descrypt -> Decrypt
encrypt -> decrypt
2008-12-29 18:28:45 +00:00
david
9b82189c39
Make the documentation for nmap.new_try more clear on a suggestion by Patrick.
2008-12-29 04:08:43 +00:00
ron
67f9577de9
No longer erroring if a server leaves out the 'domain' section of packets (some configurations of Samba seem to do this)
2008-12-24 20:36:30 +00:00
ron
773000b65a
Merging changes from my experimental branch; the new versions of this scripts, which have significant changes to their core functionality, managed to hold their own against Brandon's network. More testing would be very helpful, though, especially with credentials (most of Brandon's scans were anonymous).
2008-12-24 00:53:01 +00:00
bmenrigh
c4bebb3a01
Starting in Lua 5.1, string.gfind was renamed to string.gmatch. This commit fixes a warning when gfind is used by using gmatch instead.
2008-12-17 20:43:57 +00:00
batrick
f08596bf49
Fixed a misspelling.
2008-12-09 01:37:10 +00:00
ron
32f6181224
Updated some error messages for more clarity, and added a number after them to help track back issues that may arise.
2008-12-08 15:06:17 +00:00
ron
80dec40366
Added some more DOS constants that Brandon ran across
2008-12-08 03:48:23 +00:00
ron
86de493a3e
Changed smb-enum-shares to detect a host that returns the incorrect value for unknown shares (happened against what appears to be a EMC SANS). Also added a check to stdnse.strjoin() to ensure that the first parameter is either nil or a string, I got the parameters wrong and spent awhile trying to figure otu why.
2008-12-08 03:33:25 +00:00
ron
da4a8ef302
Fixed a bug where int8 arrays wouldn't align properly (I hadn't noticed it before because the only place it's used is in registry functions, and all following variables were either ignored or set to the proper value by luck
2008-12-07 19:10:17 +00:00
ron
ea42f39faa
Merged in significant changes to Microsoft RPC calls
2008-12-07 16:16:11 +00:00
batrick
b901089c19
Corrected documentation.
2008-12-01 04:12:13 +00:00
david
041e39f88a
Fix a typo in nmap.luadoc.
2008-11-20 17:27:05 +00:00
david
f8987ac849
Avoid a stack overflow in dns.lua. A "compressed" DNS message can have its
...
pointers arranged to form a loop. We put a limit on the number of pointers
we're willing to follow.
2008-11-19 19:59:51 +00:00
david
a7629c94db
Fix a typo in bin.luadoc.
2008-11-19 17:46:27 +00:00
ron
158423041a
Fixed some minor bugs in smb.lua (functions returned the wrong value in some cases)
2008-11-19 00:27:35 +00:00
jah
fece92c4f7
Add http-alt and https-alt to the services handled by html-title.nse
...
Modified http.request() to connect using ssl for the https-alt service.
html-title.nse can now deal with a redirect which changes the url scheme
as long as a port is present in the url and it is the port being scanned.
2008-11-17 22:06:58 +00:00
ron
b53edf3d62
Merging in change to how SMB mutexes are handled (should improve speed significantly for parallel scans)
2008-11-16 16:53:08 +00:00
david
6bd949abb0
Add a little bit about POP3 capabilities to the pop3-capabilities.nse script.
2008-11-15 01:43:10 +00:00
jah
c38aa90312
Fix http.lua which ignores port.protocol and assumes it to be 'tcp' even if it is 'udp'.
...
Now http.request() returns nil if port.protocol is not 'tcp'.
Changed the portrule in html-title.nse to accept only TCP ports.
Fixed a redirect rule in html-title.nse which was comparing the string url.port with
the number port.number - which would always be false.
2008-11-10 22:55:08 +00:00
ron
82ce5f2a92
Merge from /nmap-exp/ron/ms08-067-test
2008-11-10 16:23:12 +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
854b3460b5
Fix an inaccuracy in the documentation for the nmap.receive_lines and
...
nmap.receive_bytes functions. It claimed that if you don't get all the
lines/bytes you request before a timeout, then a "TIMEOUT" error happens. In
reality you get back data as long as at least one byte was received before the
timeout. From nsock_readlines:
/* Read up to nlines lines (terminated with \n, which of course
inclues \r\n), or until EOF, or until the timeout, whichever comes
first. Note that NSE_STATUS_SUCCESS will be returned in the case
of EOF or tiemout if at least 1 char has been read. Also note that
you may get more than 'nlines' back -- we just stop once "at least"
'nlines' is read */
2008-11-04 22:39:07 +00:00
david
e0a3c5c64f
Abbreviate the summaries of the smb and msrpc modules.
2008-11-04 00:20:22 +00:00
david
5fffad15eb
Canonicalize script args in smb.lua. Canonicalize @copyright lines in
...
netbios.lua, smb.lua, and msrpc.lua.
2008-11-03 23:47:22 +00:00
david
5e6e7151e9
Fix a few small NSEDoc errors.
2008-11-03 20:26:16 +00:00
david
cc7a58cd7a
Merge from /nmap-exp/ron/nmap-smb. This adds the new scripts
...
smb-serverstats.nse, smb-enumsessions.nse, and smb-enumshares.nse.
2008-11-03 20:00:24 +00:00
david
2cceb5184c
Separate the first paragraph from the rest of the description with a blank
...
line, not "\n\n", in the SMB and MSRPC scripts and modules. There are newer
versions of these files pending review, so this is just a quick measure to let
me use first paragraphs as summaries rather than first sentences.
2008-11-03 16:17:07 +00:00
sven
e9dd88b8a9
remove bignum_set_negative and bignum_is_negative because those functions are not available in older openssl versions
2008-10-30 13:10:01 +00:00
david
df2ac77764
Small nselib proofreading changes.
2008-10-25 03:35:00 +00:00
david
7c59faa380
Fix a syntax error in smb.lua. (My fault, it happened while I was testing
...
documentation markup.)
2008-10-24 22:02:22 +00:00
david
07fc9a963b
Fix a parameter list in openssl.luadoc.
2008-10-24 20:58:52 +00:00
david
af4497669b
Proofread and update documentation of pop3, shortport, snmp, ssh1, ssh2,
...
strbuf, tab, unpwdb, and url.
2008-10-24 20:12:36 +00:00
david
d0e545b49c
Proofread and update documentation of nmap, openssl, packet, and pcre.
2008-10-24 19:08:27 +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
a2ca60092c
Remove module and object prefixes from function names in .luadoc files, as
...
suggested by jah in http://seclists.org/nmap-dev/2008/q4/0232.html . This makes
@see cross-references to functions in these files work from other modules.
2008-10-24 15:57:11 +00:00
david
d20ee8dbbc
Proofread and update documentation of match.
2008-10-24 15:14:03 +00:00
david
bf635081c3
Proofread and update documentation of http, ipOps, and listop.
2008-10-24 04:59:36 +00:00
david
114e1420bb
Proofread and update documentation format in base64, bin, bit, comm, datafiles,
...
and dns.
2008-10-24 03:56:55 +00:00
david
7e15f259a4
Standardize the @copyright fields of NSE modules; change "See nmaps COPYING for
...
license" to "Same as Nmap--See http://nmap.org/book/man-legal.html " like
scripts commonly use. I added the field to some modules I know to be under the
Nmap license: bin, datafiles, dns, nmap, unpwdb. I left alone bin, bit, pcre,
and url, which come from outside sources.
2008-10-24 00:44:22 +00:00
david
efed9cf1a8
Update the documentation for some scripts and modules that I used in the NSEDoc
...
section of scripting.xml.
2008-10-24 00:23:46 +00:00
david
2762f91169
Reformat docs in stdnse.lua.
2008-10-23 18:31:00 +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
20137202d9
Change nmap.luadoc to use Unix line endings.
2008-10-21 22:35:10 +00:00
david
eb5a40dc81
Use <code> markup in nselib/smb.lua.
2008-10-21 22:19:52 +00:00
david
8e695065b3
Fix a little typo in msrpc.lua.
2008-10-21 18:46:02 +00:00
david
e487dac7a3
Remove an HTML anchor from nselib/ipOps.lua.
2008-10-21 17:25:08 +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