33 lines
826 B
Ruby
33 lines
826 B
Ruby
#
|
|
# Copyright (c) 2006-2019 Wade Alcorn - wade@bindshell.net
|
|
# Browser Exploitation Framework (BeEF) - http://beefproject.com
|
|
# See the file 'doc/COPYING' for copying permission
|
|
#
|
|
module BeEF
|
|
module Core
|
|
module Models
|
|
#
|
|
# Store the rays details, basically verified XSS vulnerabilities
|
|
#
|
|
class Xssraysdetail < ActiveRecord::Base
|
|
attribute :id, :Serial
|
|
|
|
# The hooked browser id
|
|
attribute :hooked_browser_id, :Text, :lazy => false
|
|
|
|
# The XssRays vector name for the vulnerability
|
|
attribute :vector_name, :Text, :lazy => true
|
|
|
|
# The XssRays vector method (GET or POST) for the vulnerability
|
|
attribute :vector_method, :Text, :lazy => true
|
|
|
|
# The XssRays Proof of Concept for the vulnerability
|
|
attribute :vector_poc, :Text, :lazy => true
|
|
|
|
belongs_to :xssraysscan
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|