Merge pull request #1984 from beefproject/internal_error_when_creating_XSSrays

First fix for the XSSRays
This commit is contained in:
jcrew99
2020-09-14 18:54:05 +10:00
committed by GitHub

View File

@@ -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"