1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-19 05:59:01 +00:00
Commit Graph

1287 Commits

Author SHA1 Message Date
david
4332937a74 Fix typo. 2010-04-07 14:35:31 +00:00
david
db2a7826ab Fix NSEDoc comments in ms-sql-config and ms-sql-query. They need three
dashes.
2010-04-06 21:42:17 +00:00
david
3b34c84de7 Add dns-fuzz script from Michael Pattrick. 2010-04-04 13:41:32 +00:00
patrik
1d26975ede o [NSE] Added a library for Microsoft SQL Server and 7 new scripts. The new
scripts are:
  - ms-sql-brute.nse uses the unpwdb library to guess credentials for MSSQL
  - ms-sql-config retrieves various configuration details from the server		
  - ms-sql-empty-password checks if the sa account has an empty password
  - ms-sql-hasdbaccess lists database access per user
  - ms-sql-query add support for running custom queries against the database
  - ms-sql-tables lists databases, tables, columns and datatypes with optional
    keyword filtering
  - ms-sql-xp-cmdshell adds support for OS command execution to privileged
    users
  [Patrik]
2010-04-04 10:11:54 +00:00
david
baeb2e8f98 Add @output sections to realvnc-auth-bypass.nse and sql-injection.nse
from Gutek. Also documents the @args of sql-injection.nse.
2010-04-02 15:31:24 +00:00
david
d2f232396e Make smtp-commands.nse run for the services {"smtp", "smtps",
"submission"}, like the other smtp scripts.
2010-04-01 04:10:40 +00:00
david
5f5b0fd0b0 Add @output to finger.nse and telnet-brute.nse thanks to Gutek. 2010-03-31 23:25:39 +00:00
david
9795ea0399 Add @output for ftp-bounce.nse, thanks to Gutek. 2010-03-31 23:03:17 +00:00
jah
f97dc21865 Fix file-level nsedoc block. 2010-03-31 22:08:16 +00:00
david
bbcfc79538 Add @output sections to these scripts:
dns-recursion.nse
snmp-brute.nse
daytime.nse
x11-access.nse
smb-enum-domains.nse
dns-random-txid.nse
p2p-conficker.nse
jdwp-version.nse
dns-random-srcport.nse
sshv1.nse
ms-sql-info.nse

Some of these just needed fixed NSEDoc syntax.
2010-03-31 21:45:21 +00:00
david
5fa554266b Fix NSEDoc. 2010-03-31 20:28:14 +00:00
david
3ef4f3f017 o [NSE] Added the afp-serverinfo script that gets a hostname, IP
addresses, and other configuration information from an AFP server.
  The script, and a patch to the afp library, were originally
  contributed by Andrew Orr and were subsequently enhanced by Patrik
  and David.

I added an @output section to the script and made it hex-encode a binary
string for the sever signature (previous versions of the afp patch did
the hex-encoding in the library, but I thought it was better to do it in
the script.)
2010-03-30 19:26:23 +00:00
david
65331759cc Remove afp-path-exploit.nse (which doesn't exist) from script.db. It was
an earlier version of afp-path-vuln.nse.
2010-03-29 17:53:32 +00:00
patrik
b1e64b3161 o [NSE] Updated the AFP library to support several new AFP functions and added
authentication support. Updated the afp-showmount script and added two new
  scripts:
  - afp-brute attempts to guess passwords against the AFP service
  - afp-path-vuln detects the AFP directory traversal vulnerability 
    CVE-2010-0533
  [Patrik]
2010-03-29 17:41:00 +00:00
fyodor
1a0fb588ec update nsedoc to reflect current name 2010-03-29 01:29:59 +00:00
patrik
a646a2ec60 o [NSE] Changed and documented the name of the maxfiles argument used
to limit output in the nfs-dirlist script.
2010-03-28 09:26:58 +00:00
david
b63a586c40 Changes to smtp-enum-users.nse from Duarte Silva. The
smtp-enum-users.method script argument was changed to
smtp-enum-users.methods and now takes an array. 252 and 550 error codes
are handled now. In verbose mode, the method used is included in the
output.
2010-03-22 04:13:08 +00:00
david
192d6336fd Patch to smtp-open-relay.nse from Duarte Silva: show which and what
fraction of tests passed.
2010-03-22 04:09:37 +00:00
david
c9e759fe0b Changes to ssl-enum-ciphers from Mak Kolybabi. This goes back to a
slower one-at-a-time enumeration method that has proved to be more
robust. Other changes:
- Fixes the "malformed packet" bug.
- Treats RSTs as rejections, not fatal errors.
- Adds some obsolete ciphers that were requested.
  - SSL_RSA_FIPS_WITH_3DES_EDE_CBC_SHA
  - SSL_RSA_FIPS_WITH_DES_CBC_SHA
- Adds some other cipher definitions.
  - TLS_DHE_DSS_EXPORT1024_WITH_DES_CBC_SHA
  - TLS_DHE_DSS_EXPORT1024_WITH_RC4_56_SHA
  - TLS_DHE_DSS_WITH_RC4_128_SHA
  - TLS_RSA_EXPORT1024_WITH_DES_CBC_SHA
  - TLS_RSA_EXPORT1024_WITH_RC2_CBC_56_MD5
  - TLS_RSA_EXPORT1024_WITH_RC4_56_MD5
  - TLS_RSA_EXPORT1024_WITH_RC4_56_SHA
2010-03-22 03:26:56 +00:00
kris
918a1bb909 o [NSE] Added the qscan script to repeatedly probe ports on a host to
gather round-trip times for each port.  The script then uses these
  times to group together ports with statistically equivalent RTTs.
  Ports in different groups could be the result of things such as port
  forwarding to hosts behind a NAT.  This is based on work by Doug
  Hoyte. [Kris]
2010-03-21 20:05:31 +00:00
patrik
dd9a237fe2 o [NSE] Added RPC library and three new NFS scripts. Modified the rpcinfo and
nfs-showmount scripts to use the new library. The new scripts are:
  - nfs-acls shows the owner and directory mode of NFS exports
  - nfs-dirlist lists the contents of NFS exports
  - nfs-statfs shows file system statistics for NFS exports
  [Patrik]
2010-03-21 17:56:17 +00:00
kris
d503d4042b Print a message (once) if ipidseq.nse doesn't run for lack of privileges 2010-03-19 16:55:01 +00:00
david
b7b14216e2 Add jdwp-version.nse from Michael Schierl. 2010-03-18 00:08:30 +00:00
david
ff69b9722e Add smtp-enum-users to script.db. 2010-03-18 00:08:07 +00:00
patrik
53460a9682 o [NSE] Fixed mysql-brute.nse error that would cause brute-forcing to fail
if password contained a format string. Fixed a problem with SSL support
  detection in mysql.lua library. [Patrik]
2010-03-17 09:30:26 +00:00
david
c1eeb7bf8c Update to smtp-open-relay.nse from Duarte Silva. Minor changes to the
output format.
2010-03-16 15:26:24 +00:00
david
2f00ea5cb7 Add smtp-enum-users.nse from Duarte Silva. 2010-03-13 04:03:26 +00:00
patrik
2a44a941af o [NSE] Added checks for missing OpenSSL to MySQL scripts and library [Patrik] 2010-03-09 20:27:48 +00:00
david
d3150aa5a3 Minor updates to smtp-open-relay.nse from Duarte Silva. 2010-03-09 20:17:55 +00:00
david
d4f8da67ea Change to snmp-interfaces from Thomas Buchanan: change the scope of a
constant table and adjust verbose/non-verbose output.
2010-03-07 04:07:11 +00:00
kris
c2110ee6bd script-updatedb 2010-03-06 18:40:35 +00:00
david
112f012368 Add the snmp-interfaces script from Thomas Buchanan. 2010-03-05 20:19:04 +00:00
patrik
118e029b0e o [NSE] Added a new library for PostgreSQL and the script pgsql-brute that uses
it to guess credentials. [Patrik]
2010-03-04 19:18:55 +00:00
patrik
2828af7ca7 Add ldap-search.nse 2010-03-04 19:10:48 +00:00
patrik
a439772d2a o [NSE] Added the script ldap-search which queries a LDAP directory
for either all or a number of pre-defined object types. [Patrik]
2010-03-04 19:07:56 +00:00
david
6e1daddd55 Break out the code in smb-psexec.nse that looks for nmap_service.exe, so
an error message can be displayed in verbose mode, without requiring
debugging.
2010-03-03 22:27:51 +00:00
david
1906c0febd Don't print out a blank line in http-methods.nse when there's nothing to
report.
2010-03-02 22:44:10 +00:00
david
a90ba28583 Have http-methods.nse highlight "interesting" methods as "potentially
risky" methods. Provide a link to the NSEDoc and to the OWASP page on
methods for more information.
2010-03-02 22:34:11 +00:00
david
ce18e4bb54 Make http-methods.nse merge the contents of the Allow and Public
headers, as suggested by Patrik Karlsson.
2010-03-02 20:27:08 +00:00
david
8112f5d03f Add some further improvements to smtp-open-relay.nse from Duarte Silva,
checking for EOF and TIMEOUT errors.
2010-03-01 23:05:22 +00:00
david
e89094261d Add json.lua, couchdb-databases.nse, and couchdb-stats.nse, all by
Martin Holst Swende.
2010-02-28 21:25:01 +00:00
david
ffb34b2259 Make sure port.service exists before passing it to string.match. This
bug was reported by Brandon.
2010-02-27 00:16:29 +00:00
kris
a42ea72a97 Merge through r16884 from /nmap-exp/kris/nse-rawip plus the following changelog
entries:

o [NSE] Raw packet sending at the IP layer is now supported, in addition to
  the Ethernet sending functionality.  Packets to send start with an IPv4
  header and can be sent to arbitrary hosts. [Kris]

o [NSE] Added the ipidseq script to classify a host's IP ID sequence numbers
  in the same way Nmap does.  This can be used to test hosts' suitability for
  Nmap's Idle Scan (-sI), i.e. check if a host is an idle zombie.  This is
  the first script to use the new raw IP sending functionality in NSE. [Kris]

o [NSE] Added the function nmap.is_privileged() to tell a script if, as far
  as Nmap's concerned, it can do privileged operations.  For instance, this
  can be used to see if a script should be able to open a raw socket or
  Ethernet interface. [Kris]

o [NSE] Added the function nmap.get_ports() to allow a script to iterate
  over a host's port tables matching a certain protocol and state. [Kris,
  Patrick]
2010-02-26 20:42:10 +00:00
david
84a388aeb9 Give datafiles.lua the ability to parse nmap-mac-prefixes, and use it in
nbstat.nse to look up the MAC vendor string.
2010-02-26 00:27:30 +00:00
david
bf612ba7c9 o [NSE] Added the ssl-enum-ciphers script from Mak Kolybabi. This
script lists the ciphers and compressors supported by an SSL/TLS
  server.
2010-02-24 01:33:16 +00:00
david
e603eadd96 Remove TRACE from the http-methods.nse "uninteresting" set on a
recommendation from Daniel Roethlisberger. TRACE is interesting because
it can be used to get cookies or authentication data in a cross-site
scripting attack. See http://www.owasp.org/index.php/Cross_Site_Tracing.
2010-02-22 21:42:47 +00:00
david
a67be3d7d1 Take smtp-open-relay.nse out of {"demo"} and into {"discovery",
"intrusive", "external"} following some improvements by Duarte Silva.
2010-02-22 17:52:13 +00:00
patrik
08063ebd32 Added dependency for ldap-brute to ldap-rootdse.nse 2010-02-21 08:56:10 +00:00
patrik
42da3e0ba0 o [NSE] Added a new library for LDAP and two new scripts:
- ldap-brute uses the unpwdb library to guess credentials for LDAP
  - ldap-rootdse retrieves the LDAP root DSA-specific Entry (DSE)
2010-02-21 08:52:44 +00:00
ron
3a3535e07c Fixed a couple formatting bugs in the smb-* libraries that come up when debugging/verbose is disabled 2010-02-20 15:03:11 +00:00