1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-10 17:59:04 +00:00
Commit Graph

1287 Commits

Author SHA1 Message Date
david
15d0add1fe Remove RealVNC_auth_bypass.nse from the "malware" category. It doesn't have to
do with any malware, just a security vulnerability. It remains in "default" and
"vuln". I think it was in "malware" because it used to be in the old "backdoor"
category.
2008-10-24 22:04:30 +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
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
295ff830a3 Reformat ASN.nse using new markup. \n is now usually unnecessary. The three
main uses of \n are now done differently: paragraph breaks are now signaled by
a blank line, lists are done with the "* " syntax, and preformatted code should
be delimited with <code></code> tags.
2008-10-22 23:49:44 +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
fyodor
f6fb4d971c o Removed some unecessary "demo" category NSE scripts: echoTest,
chargenTest, showHTTPVersion, and showSMTPVersion.nse.  Moved
  daytimeTest from the "demo" category to "discovery".  Removed
  showHTMLTitle from the "demo" category, but it remains in the
  "default" and "safe" categories. This leaves just showSSHVersion and
  SMTP_openrelay in the undocumented "demo" category. [Fyodor]
2008-10-20 22:54:43 +00:00
fyodor
7ead36a64e remove demo category from showHTMLTitle 2008-10-20 21:47:24 +00:00
david
60870aee2b Remove
--@output
-- TODO
from smb-enumusers.nse and smb-enumshares.nse to keep it from showing up in
printed output.
2008-10-20 19:05:35 +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
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
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
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
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
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
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
ece81da41a add linebreaks to @output section of rpcinfo and SSH-hostkey script 2008-10-10 06:27:10 +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
cb00282519 --update-scriptdb to add SSH-hostkey.nse and SSH-weak_key.nse. 2008-10-08 23:10:33 +00:00
sven
d8714befb1 merging nse_openssl branch 2008-10-08 22:21:41 +00:00
fyodor
840b276b6c From Jason R. DePriest:
Fixed it to normalize the line endings before replacing them with
commas and I have it remove extra spaces.
2008-10-07 03:54:46 +00:00
fyodor
9e4772dc50 Improvements to the nsedoc comments by Arturo 'Buanzo' Busleiman 2008-10-07 00:10:40 +00:00
david
01ca5f9188 Encapsulate the redirect decision rules in showHTMLTitle.nse into their own
function.
2008-10-06 00:03:33 +00:00
david
ac19339d5f o showHTMLTitle.nse can now follow (non-standard) relative redirects,
and may do a DNS lookup to find if the redirected-to host has the
  same IP address as the scanned host. [Jah]
2008-10-05 23:46:22 +00:00
david
ae7455279e Add a new msrpc.lua module, plus new scripts smb-enumdomains.nse,
smb-enumshares.nse, and smb-enumusers.nse. Also enhance the netbios.lua and
smb.lua modules. Remove the smb-enum.nse script. All these changes are from Ron
Bowes.
2008-10-04 21:58:39 +00:00
david
08c98a26e6 Update HTTP_open_proxy.nse to use Google Web Server's changed header field:
"Server: gws" instead of "Server: GWS/". The patch is based on one from Vlatko
Kosturjak. Sven suggested a better portrule.
2008-10-02 16:11:22 +00:00
david
844467d410 Add jah's enhanced ASN.nse that consolidates answers and gives up if the DNS
server is uncooperative.
2008-09-16 17:35:44 +00:00
david
f054d25d1f Adjust the categories of the new SMB scripts. Also fix a couple of
documentation typos.

smb-os-discovery.nse
-categories = {"version","default"}
+categories = {"default", "discovery", "safe"}
 
smb-enum.nse
-categories = {"version","intrusive"}
+categories = {"discovery", "intrusive"}
 
smb-security-mode.nse
-categories = {"version"}
+categories = {"discovery", "safe"}
2008-09-15 18:10:00 +00:00
david
9eff25bbc4 Add Ron Bowes's netbios and smb NSE modules and new scripts that use them. They
were introduced in http://seclists.org/nmap-dev/2008/q3/0827.html.
2008-09-15 17:58:38 +00:00
kris
2123310bf8 Remove comment and bytes=1 from dns-safe-recursion*.nse. The scripts were
sent to nmap-dev before the Comm update to default to bytes=1, but added after
the change.  I tested the scripts out and they still work fine of course.
2008-09-13 17:20:17 +00:00
david
f35d3e9440 Remove a \r\r that could be printed by showSMTPversion.nse. 2008-09-12 21:39:48 +00:00
fyodor
c95a9935bb latest generated files 2008-09-12 08:22:09 +00:00
david
d6e3760151 Add HTTP_open_proxy.nse to the external script category, because it potentially
involves traffic between the target and a third-party host. It's fairly
innocuous because there's no third-party traffic from the scanning computer, so
I left it in the default category.
2008-09-09 17:10:45 +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
da312ac02e Remove a debugging statement from brutePOP3.nse. 2008-09-08 19:32:16 +00:00
sven
81827eae3c rpcinfo.nse:
don't stop the whole script if we don't receive further packets even though 
 they are expected but process what we got so far instead
 remove rpc_ prefix from variable names
2008-09-08 09:11:41 +00:00
fyodor
28df4b4416 change Nmap version number to 4.69BETA1 and regenerate files 2008-09-06 07:17:04 +00:00
david
dfdf8a5752 Move the new version of dns.reverse that does IPv6 reverse lookups out of
ASN.nse and into the dns library.
2008-09-06 03:45:37 +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
david
205e7ab28b Add the latest ASN.nse script. This version uses the new Nmap-specific query
servers, groups output intelligently, and supports IPv6. See sample output at
http://seclists.org/nmap-dev/2008/q3/0675.html.
2008-09-06 02:47:46 +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
fyodor
966b9fa0d2 rename SNMPsysdesr.nse to SNMPsysdescr.nse 2008-09-05 06:53:00 +00:00
fyodor
2ba3a3878d o Added dns-safe-recursion-port and dns-safe-recursion-txid (non
default NSE scripts) which use the 3rd party dns-oarc.net to test
  the source port and transaction ID randomness of a discovered DNS
  server (assuming it allows recursion at all).  These scripts were
  contributed by Brandon Enright.
2008-09-05 02:04:07 +00:00
fyodor
bed9523832 o Updated rpcinfo NSE script to use the new pack/unpack (binlib)
functions, use the new tab library, include better documentation, and
  fix some bugs. [Sven Klemm]
2008-09-03 08:31:05 +00:00
david
b9c3cc90d4 Uncommit some files accidentally committed in r9869. 2008-08-30 21:09:01 +00:00
david
20f38fcf15 Add CHANGELOG entry for higwidgets move. Rewrap another entry to 70 columns. 2008-08-30 21:07:38 +00:00
fyodor
f6cfe82658 o Fix a number of NSE scripts which used print_debug()
incorrectly. See
  http://seclists.org/nmap-dev/2008/q3/0470.html. [Sven Klemm].
2008-08-29 09:16:22 +00:00
fyodor
8eecdfba82 documentation updates from Thomas Buchanan 2008-08-29 08:49:21 +00:00