Updated social_engineering for AR

This commit is contained in:
Ben Passmore
2019-11-30 15:21:50 +10:00
parent b89fbd9268
commit 502a52452c
3 changed files with 4 additions and 13 deletions

View File

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

View File

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

View File

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