1
0
mirror of https://github.com/nmap/nmap.git synced 2026-01-02 12:59:02 +00:00

Renames memcached probe and adds a new match for Apache ZooKeeper

This commit is contained in:
paulino
2017-05-05 00:03:31 +00:00
parent 95850d5ac3
commit 6274868dee
2 changed files with 7 additions and 4 deletions

View File

@@ -1,5 +1,8 @@
# Nmap Changelog ($Id$); -*-text-*-
o Extended Memcached service probe and added match for Apache ZooKeeper.
[Paulino Calderon]
o [NSE] New script vmware-version queries VMWare SOAP API for version and
product information. Submitted in 2011, this was mistakenly turned into a
service probe that was unable to elicit any matches. [Aleksey Tyurin]

View File

@@ -14846,13 +14846,13 @@ match stomp m|^ERROR\nmessage:Illegal command\ncontent-type:text/plain\nversion:
# match ipds m|^%%\[ Error: syntaxerror; Offending Command:|s p/IPDS Service/ d/printer/
##############################NEXT PROBE##############################
# memcache, text mode protocol
Probe TCP Memcache q|stats\r\n|
# Sends string 'stats' and matches memcached and zookeeper
Probe TCP StatsRequest q|stats\r\n|
rarity 8
ports 11211
ports 2181,11211
match memcached m|^STAT pid (\d+)\r\nSTAT uptime (\d+)\r\n.*?STAT version ([\w_.-]+)\r\n.*?STAT curr_items (\d+)\r\nSTAT total_items (\d+)\r\nSTAT bytes (\d+)\r\n|s p/Memcached/ v/$3/ i/PID $1; uptime $2 seconds; curr items: $4; total items: $5; bytes cached: $6/ cpe:/a:memcached:memcached:$3/
match memcached m|^STAT pid (\d+)\r\nSTAT uptime (\d+)\r\nSTAT time \d+\r\nSTAT version ([.\d]+)\r\n|s p/Memcached/ v/$3/ i/PID $1; uptime $2 seconds/ cpe:/a:memcached:memcached:$3/
match zookeeper m|^Zookeeper version: ([\w.-]+), built on ([\w./]+)| p/Zookeeper/ v/$1/ i/Built on $2/ cpe:/a:zookeeper:zookeeper:$1/
##############################NEXT PROBE##############################
# Beast Trojan v2