diff --git a/lib/msf/core/auxiliary/redis.rb b/lib/msf/core/auxiliary/redis.rb index 62bbedb8ab..8760d37c82 100644 --- a/lib/msf/core/auxiliary/redis.rb +++ b/lib/msf/core/auxiliary/redis.rb @@ -25,7 +25,8 @@ module Msf register_advanced_options( [ - OptInt.new('READ_TIMEOUT', [true, 'Seconds to wait while reading redis responses', 2]) + OptInt.new('READ_TIMEOUT', [true, 'Seconds to wait while reading redis responses', 2]), + OptString.new('Password', [false, 'Redis password for authentication test', 'foobared']) ] ) end diff --git a/modules/auxiliary/scanner/redis/unauth_upload_file.rb b/modules/auxiliary/scanner/redis/unauth_upload_file.rb index dbd8b90d19..b456f40bb9 100644 --- a/modules/auxiliary/scanner/redis/unauth_upload_file.rb +++ b/modules/auxiliary/scanner/redis/unauth_upload_file.rb @@ -43,8 +43,7 @@ class Metasploit3 < Msf::Auxiliary register_options( [ OptPath.new('LocalFile', [false, 'Local file to be uploaded']), - OptString.new('RemoteFile', [false, 'Remote file path']), - OptString.new('Password', [false, 'Redis password for authentication test', 'foobared']) + OptString.new('RemoteFile', [false, 'Remote file path']) ] ) end