Updated social_engineering for AR
This commit is contained in:
@@ -6,10 +6,7 @@
|
||||
module BeEF
|
||||
module Core
|
||||
module Models
|
||||
class Interceptor < ActiveRecord::Base
|
||||
attribute :id, :Serial
|
||||
attribute :ip, :Text, :lazy => false
|
||||
attribute :post_data, :Text, :lazy => false
|
||||
class Interceptor < BeEF::Core::Model
|
||||
|
||||
belongs_to :webcloner
|
||||
|
||||
|
||||
@@ -7,11 +7,8 @@ module BeEF
|
||||
module Core
|
||||
module Models
|
||||
|
||||
class Massmailer < ActiveRecord::Base
|
||||
class Massmailer < BeEF::Core::Model
|
||||
|
||||
attribute :id, :Serial
|
||||
|
||||
#todo fields
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
@@ -6,13 +6,10 @@
|
||||
module BeEF
|
||||
module Core
|
||||
module Models
|
||||
class Webcloner < ActiveRecord::Base
|
||||
attribute :id, :Serial
|
||||
class Webcloner < BeEF::Core::Model
|
||||
|
||||
attribute :uri, :Text, :lazy => false
|
||||
attribute :mount, :Text, :lazy => false
|
||||
has_many :interceptors
|
||||
|
||||
belongs_tos :extension_seng_interceptor, 'Interceptor'
|
||||
end
|
||||
|
||||
end
|
||||
|
||||
Reference in New Issue
Block a user