Skip to content

Commit

Permalink
Fix invalid plugins condition beefproject#3051
Browse files Browse the repository at this point in the history
zinduolis committed Sep 29, 2024
1 parent 5d7fbe1 commit 330f92b
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions core/main/handlers/browserdetails.rb
Original file line number Diff line number Diff line change
@@ -400,6 +400,8 @@ def setup
browser_plugins = get_param(@data['results'], 'browser.plugins')
if BeEF::Filters.is_valid_browser_plugins?(browser_plugins)
BD.set(session_id, 'browser.plugins', browser_plugins)
elsif browser_plugins == "[]"
err_msg "No browser plugins detected."
else
err_msg "Invalid browser plugins returned from the hook browser's initial connection."
end

0 comments on commit 330f92b

Please sign in to comment.