Updated ipec for AR

This commit is contained in:
Ben Passmore
2019-11-30 15:18:19 +10:00
parent 0f74b6faf2
commit 3950e934a6
2 changed files with 4 additions and 13 deletions

View File

@@ -6,13 +6,9 @@
module BeEF
module Core
module Models
class IpecExploits < ActiveRecord::Base
attribute :id, :Serial
attribute :name, :Text, :lazy => false
attribute :protocol, :String, :lazy => false
attribute :os, :String, :lazy => false
class IpecExploits < BeEF::Core::Model
belongs_to :extension_ipec_exploits_run, 'IpecExploitsRun'
has_many :ipec_exploits_run
end

View File

@@ -6,14 +6,9 @@
module BeEF
module Core
module Models
class IpecExploitsRun < ActiveRecord::Base
class IpecExploitsRun < BeEF::Core::Model
attribute :id, :Serial
attribute :launched, :Boolean, :lazy => false
attribute :http_headers, :Text, :lazy => false
attribute :junk_size, :String, :length => 3, :lazy => false
belongs_to :ipec_exploits
belongs_to :ipec_exploit
end