Land #7432, Fix erroneous cred reporting in SonicWALL exploit

bug/bundler_fix
Brent Cook 2016-10-12 22:39:15 -05:00
commit 2014b2d2ab
No known key found for this signature in database
GPG Key ID: 1FFAA0B24B708F96
1 changed files with 2 additions and 2 deletions

View File

@ -180,10 +180,10 @@ class MetasploitModule < Msf::Exploit::Remote
fail_with(Failure::NoAccess, "Username '#{datastore['USERNAME']}' is incorrect.")
elsif res['loginfailed']
fail_with(Failure::NoAccess, "Password '#{datastore['PASSWORD']}' is incorrect.")
elsif res['sessionid']
report_cred(datastore['USERNAME'], datastore['PASSWORD'])
end
report_cred(datastore['USERNAME'], datastore['PASSWORD'])
res
end