File tree Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Expand file tree Collapse file tree 1 file changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -11,7 +11,8 @@ class Metasploit3 < Msf::Auxiliary
11
11
include Msf ::Auxiliary ::Report
12
12
13
13
def initialize ( info = { } )
14
- super ( update_info ( info ,
14
+ super ( update_info (
15
+ info ,
15
16
'Name' => 'Memcached Extractor' ,
16
17
'Description' => %q(
17
18
This module extracts the slabs from a memcached instance. It then
@@ -33,7 +34,7 @@ def initialize(info = {})
33
34
34
35
register_advanced_options (
35
36
[
36
- OptInt . new ( 'MAXKEYS' , [ true , 'Maximum number of keys to be pulled from a slab' , 100 ] )
37
+ OptInt . new ( 'MAXKEYS' , [ true , 'Maximum number of keys to be pulled from a slab' , 100 ] )
37
38
] , self . class
38
39
)
39
40
end
@@ -104,7 +105,7 @@ def run_host(ip)
104
105
vprint_status ( "#{ peer } - Connecting to memcached server..." )
105
106
begin
106
107
connect
107
- if version = determine_version
108
+ if ( version = determine_version )
108
109
vprint_good ( "#{ peer } - Connected to memcached version #{ version } " )
109
110
report_service (
110
111
host : ip ,
You can’t perform that action at this time.
0 commit comments