This closes #7849 on the confusing message.

Use result.proof which has the right message. Thanks to Wei for pointing it
bug/bundler_fix
Jin Qian 2017-01-19 15:39:10 -06:00
parent b94eefe724
commit b4d3e9da8d
1 changed files with 1 additions and 1 deletions

View File

@ -64,7 +64,7 @@ class MetasploitModule < Msf::Auxiliary
:next_user :next_user
when Metasploit::Model::Login::Status::UNABLE_TO_CONNECT when Metasploit::Model::Login::Status::UNABLE_TO_CONNECT
if datastore['VERBOSE'] if datastore['VERBOSE']
print_brute :level => :verror, :ip => ip, :msg => "Could not connect" print_brute :level => :verror, :ip => ip, :msg => result.proof
end end
invalidate_login(credential_data) invalidate_login(credential_data)
:abort :abort