File tree Expand file tree Collapse file tree 2 files changed +2
-2
lines changed
modules/auxiliary/scanner/redis Expand file tree Collapse file tree 2 files changed +2
-2
lines changed Original file line number Diff line number Diff line change @@ -54,7 +54,7 @@ def redis_command(*commands)
54
54
if /(?<auth_response>ERR operation not permitted|NOAUTH Authentication required)/i =~ command_response
55
55
fail_with ( ::Msf ::Module ::Failure ::BadConfig , "#{ peer } requires authentication but Password unset" ) unless datastore [ 'Password' ]
56
56
vprint_status ( "Requires authentication (#{ printable_redis_response ( auth_response , false ) } )" )
57
- if ( auth_response = send_redis_command ( 'AUTH' , datastore [ 'Password ' ] ) )
57
+ if ( auth_response = send_redis_command ( 'AUTH' , datastore [ 'PASSWORD ' ] ) )
58
58
unless auth_response =~ /\+ OK/
59
59
vprint_error ( "Authentication failure: #{ printable_redis_response ( auth_response ) } " )
60
60
return
Original file line number Diff line number Diff line change @@ -12,7 +12,7 @@ class MetasploitModule < Msf::Auxiliary
12
12
13
13
def initialize ( info = { } )
14
14
super ( update_info ( info ,
15
- 'Name' => 'Redis Scanner' ,
15
+ 'Name' => 'Redis Command Execute Scanner' ,
16
16
'Description' => %q(
17
17
This module locates Redis endpoints by attempting to run a specified
18
18
Redis command.
You can’t perform that action at this time.
0 commit comments