Skip to content

Commit 618f379

Browse files
committed
Update auxiliary/scanner/redis/redis_server and mixin
1 parent 4d76b0e commit 618f379

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

lib/msf/core/auxiliary/redis.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -54,7 +54,7 @@ def redis_command(*commands)
5454
if /(?<auth_response>ERR operation not permitted|NOAUTH Authentication required)/i =~ command_response
5555
fail_with(::Msf::Module::Failure::BadConfig, "#{peer} requires authentication but Password unset") unless datastore['Password']
5656
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']))
5858
unless auth_response =~ /\+OK/
5959
vprint_error("Authentication failure: #{printable_redis_response(auth_response)}")
6060
return

modules/auxiliary/scanner/redis/redis_server.rb

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -12,7 +12,7 @@ class MetasploitModule < Msf::Auxiliary
1212

1313
def initialize(info = {})
1414
super(update_info(info,
15-
'Name' => 'Redis Scanner',
15+
'Name' => 'Redis Command Execute Scanner',
1616
'Description' => %q(
1717
This module locates Redis endpoints by attempting to run a specified
1818
Redis command.

0 commit comments

Comments
 (0)