Merge branch 'internal_error_when_creating_XSSrays' of https://github.com/beefproject/beef into internal_error_when_creating_XSSrays

lets update
This commit is contained in:
Josh
2020-09-14 00:55:26 -07:00

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"