Merge pull request #1984 from beefproject/internal_error_when_creating_XSSrays
First fix for the XSSRays
This commit is contained in:
@@ -122,7 +122,7 @@ module BeEF
|
||||
begin
|
||||
id = params[:id]
|
||||
|
||||
hooked_browser = HB.where(:session => id).distinct.order(:id)
|
||||
hooked_browser = HB.where(:session => id).distinct.order(:id).first
|
||||
|
||||
if hooked_browser.nil?
|
||||
print_error "[XSSRAYS] Invalid hooked browser ID"
|
||||
|
||||
Reference in New Issue
Block a user