File tree Expand file tree Collapse file tree 2 files changed +4
-3
lines changed
lib/metasploit/framework/login_scanner
modules/auxiliary/scanner/redis Expand file tree Collapse file tree 2 files changed +4
-3
lines changed Original file line number Diff line number Diff line change @@ -10,7 +10,7 @@ module LoginScanner
10
10
# It is responsible for taking a single target, and a list of credentials
11
11
# and attempting them. It then saves the results.
12
12
13
- class REDIS
13
+ class Redis
14
14
include Metasploit ::Framework ::LoginScanner ::Base
15
15
include Metasploit ::Framework ::LoginScanner ::RexSocket
16
16
include Metasploit ::Framework ::Tcp ::Client
Original file line number Diff line number Diff line change 7
7
require 'metasploit/framework/login_scanner/redis'
8
8
require 'metasploit/framework/credential_collection'
9
9
10
- class Metasploit3 < Msf ::Auxiliary
10
+ class MetasploitModule < Msf ::Auxiliary
11
+
11
12
include Msf ::Exploit ::Remote ::Tcp
12
13
include Msf ::Auxiliary ::Redis
13
14
include Msf ::Auxiliary ::Scanner
@@ -52,7 +53,7 @@ def run_host(ip)
52
53
53
54
cred_collection = prepend_db_passwords ( cred_collection )
54
55
55
- scanner = Metasploit ::Framework ::LoginScanner ::REDIS . new (
56
+ scanner = Metasploit ::Framework ::LoginScanner ::Redis . new (
56
57
host : ip ,
57
58
port : rport ,
58
59
proxies : datastore [ 'PROXIES' ] ,
You can’t perform that action at this time.
0 commit comments