More Fixes for WD MyBook Live Scanner
Fixes include removing deregistered options from credentials collection object and adding proof when there is no responsebug/bundler_fix
parent
82b74d5f3c
commit
ee3dd3a2ac
|
@ -45,7 +45,7 @@ module Metasploit
|
|||
if res && res.code == 302 && res.headers['location'] && res.headers['location'].include?('UI')
|
||||
result_opts.merge!(status: Metasploit::Model::Login::Status::SUCCESSFUL, proof: res.headers)
|
||||
elsif res.nil?
|
||||
result_opts.merge!(status: Metasploit::Model::Login::Status::INCORRECT)
|
||||
result_opts.merge!(status: Metasploit::Model::Login::Status::INCORRECT, proof: 'No response')
|
||||
else
|
||||
result_opts.merge!(status: Metasploit::Model::Login::Status::INCORRECT, proof: res.headers)
|
||||
end
|
||||
|
|
|
@ -37,10 +37,7 @@ class Metasploit3 < Msf::Auxiliary
|
|||
blank_passwords: datastore['BLANK_PASSWORDS'],
|
||||
pass_file: datastore['PASS_FILE'],
|
||||
password: datastore['PASSWORD'],
|
||||
user_file: datastore['USER_FILE'],
|
||||
userpass_file: datastore['USERPASS_FILE'],
|
||||
username: 'admin',
|
||||
user_as_pass: datastore['USER_AS_PASS']
|
||||
username: 'admin'
|
||||
)
|
||||
|
||||
scanner = Metasploit::Framework::LoginScanner::MyBookLive.new(
|
||||
|
|
Loading…
Reference in New Issue