From 97a22758f6e58956dfe2d905eeb02fe8cf88a213 Mon Sep 17 00:00:00 2001 From: tomsellers Date: Wed, 4 Jul 2012 15:56:48 +0000 Subject: [PATCH] membase-http-info updated to reflect new server header found in current versions of the Couchbase HTTP admin port. Explanation email sent to list. --- scripts/membase-http-info.nse | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/scripts/membase-http-info.nse b/scripts/membase-http-info.nse index ed05ecb00..6caa2fd27 100644 --- a/scripts/membase-http-info.nse +++ b/scripts/membase-http-info.nse @@ -86,7 +86,7 @@ local function cmdReq(host, port, url, result) end if ( response.header['server'] and - not(response.header['server']:match("^Membase Server")) ) then + not( response.header['server']:match("^Couchbase Server") or response.header['server']:match("^Membase Server") ) ) then return false end