Script couchdb-stats

Script types: portrule
Categories: discovery, safe
Download: https://svn.nmap.org/nmap/scripts/couchdb-stats.nse

Script Summary

Gets database statistics from a CouchDB database.

For more info about the CouchDB HTTP API and the statistics, see http://wiki.apache.org/couchdb/Runtime_Statistics and http://wiki.apache.org/couchdb/HTTP_database_API.

Script Arguments

slaxml.debug

See the documentation for the slaxml library.

http.host, http.max-body-size, http.max-cache-size, http.max-pipeline, http.pipeline, http.truncated-ok, http.useragent

See the documentation for the http library.

smbdomain, smbhash, smbnoguest, smbpassword, smbtype, smbusername

See the documentation for the smbauth library.

Example Usage

nmap -p 5984 --script "couchdb-stats.nse" <host>

Script Output

PORT     STATE SERVICE REASON
5984/tcp open  httpd   syn-ack
| couchdb-stats:
|   httpd_request_methods
|     GET (number of HTTP GET requests)
|       current = 5
|       count = 1617
|   couchdb
|     request_time (length of a request inside CouchDB without MochiWeb)
|       current = 1
|       count = 5
|   httpd_status_codes
|     200 (number of HTTP 200 OK responses)
|       current = 5
|       count = 1617
|   httpd
|     requests (number of HTTP requests)
|       current = 5
|       count = 1617
|_  Authentication : NOT enabled ('admin party')

Requires


Author:

  • Martin Holst Swende

License: Same as Nmap--See https://nmap.org/book/man-legal.html