Land #7432, Fix erroneous cred reporting in SonicWALL exploit
commit
2014b2d2ab
|
@ -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
|
||||
|
||||
|
|
Loading…
Reference in New Issue