1
0
mirror of https://github.com/nmap/nmap.git synced 2025-12-06 04:31:29 +00:00

Update Redis version probe to skip comments. Fixes #789

This commit is contained in:
dmiller
2017-03-28 15:40:23 +00:00
parent 0e7f11673c
commit 19acf2feaf

View File

@@ -15100,7 +15100,7 @@ Probe TCP redis-server q|\*1\r\n\$4\r\ninfo\r\n|
rarity 8
ports 6379
match redis m|-ERR operation not permitted\r\n|s p/Redis key-value store/
match redis m|^\$\d+\r\nredis_version:([.\d]+)\r\n|s p/Redis key-value store/ v/$1/
match redis m|^\$\d+\r\n(?:#[^\r\n]*\r\n)*redis_version:([.\d]+)\r\n|s p/Redis key-value store/ v/$1/
##############################NEXT PROBE##############################
# Memcached distributed memory object caching system