diff --git a/modules/auxiliary/gather/memcached_extractor.rb b/modules/auxiliary/gather/memcached_extractor.rb index 31f4083af1..86f3c668f7 100644 --- a/modules/auxiliary/gather/memcached_extractor.rb +++ b/modules/auxiliary/gather/memcached_extractor.rb @@ -80,9 +80,9 @@ class Metasploit3 < Msf::Auxiliary end def determine_version - sock.send("stats\r\n", 0) + sock.send("version\r\n", 0) stats = sock.recv(4096) - if /^STAT version (?[\d\.]+)/ =~ stats + if /^VERSION (?[\d\.]+)/ =~ stats version else nil