From b3c8df571f7555d232192a62e4c8ae3824d431e5 Mon Sep 17 00:00:00 2001 From: patrik Date: Tue, 3 Jan 2012 14:18:10 +0000 Subject: [PATCH] o Added probe and matchline for Couchbase Membase NoSQL database [Patrik] --- CHANGELOG | 2 ++ nmap-service-probes | 9 ++++++++- 2 files changed, 10 insertions(+), 1 deletion(-) diff --git a/CHANGELOG b/CHANGELOG index 19dc39596..37c5fd836 100644 --- a/CHANGELOG +++ b/CHANGELOG @@ -1,5 +1,7 @@ # Nmap Changelog ($Id$); -*-text-*- +o Added probe and matchline for Couchbase Membase NoSQL database [Patrik] + o Added the new --script-args-file option which allows you to specify the name of a file containing all of your desired NSE script arguments. The arguments may be separated with commas or newlines diff --git a/nmap-service-probes b/nmap-service-probes index 729f0ebab..b1eb427ee 100644 --- a/nmap-service-probes +++ b/nmap-service-probes @@ -10183,4 +10183,11 @@ match riak-pbc m|^....\x08..(riak@[.\d]*)..([.\d]+)$|s p/Basho Riak/ v/$2/ i/Nod Probe TCP tarantool q|show info\r\n| rarity 8 ports 33015 -match tarantool m|---\r\ninfo:\r\n version: \"([^\"]*)\"\r\n uptime: (\d*)\r\n pid: (\d*)\r\n ([._\w\s]*: .*\r\n)* config: \"([^\"]*)\"| p/Tarantool/ v/$1/ i/Uptime: $2, PID: $3, Config: $5/ \ No newline at end of file +match tarantool m|---\r\ninfo:\r\n version: \"([^\"]*)\"\r\n uptime: (\d*)\r\n pid: (\d*)\r\n ([._\w\s]*: .*\r\n)* config: \"([^\"]*)\"| p/Tarantool/ v/$1/ i/Uptime: $2, PID: $3, Config: $5/ + +##############################NEXT PROBE############################## +# Sends a stats request to a Couchbase Membase server +Probe TCP couchbase-data q|\x80\x10\0\0\0\0\0\0\0\0\0\0\x15\xf0\xd1\x62\0\0\0\0\0\0\0\0| +rarity 8 +ports 11210 +match couchbase-tap m|^\x81\x10..\0\0\0\0\0\0\0.....\0\0\0\0\0\0\0\0ep_version([._\w]+).*ep_dbname([_\\\/\w]*)|s p/Couchbase Membase/ v/$1/ i/DB name: $2/