Skip to content

Commit

Permalink
Land #18985, Fixes store_valid_credential conditional logic
Browse files Browse the repository at this point in the history
  • Loading branch information
dwelch-r7 authored Mar 21, 2024
2 parents 3af4358 + d750ea1 commit 3de8b02
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion modules/exploits/unix/webapp/wp_admin_shell_upload.rb
Original file line number Diff line number Diff line change
Expand Up @@ -42,10 +42,10 @@ def initialize(info = {})
def check
cookie = wordpress_login(username, password)
if cookie.nil?
store_valid_credential(user: username, private: password, proof: cookie)
return CheckCode::Safe
end

store_valid_credential(user: username, private: password, proof: cookie)
CheckCode::Appears
end

Expand Down

0 comments on commit 3de8b02

Please sign in to comment.