Skip to content

Commit

Permalink
Land #7432, Fix erroneous cred reporting in SonicWALL exploit
Browse files Browse the repository at this point in the history
  • Loading branch information
Brent Cook committed Oct 13, 2016
2 parents a2a1d6c + e78d3d6 commit 2014b2d
Showing 1 changed file with 2 additions and 2 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -180,10 +180,10 @@ def do_login
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

Expand Down

0 comments on commit 2014b2d

Please sign in to comment.