Files
beef/extensions/dns/model.rb
soh_cah_toa 992e95f0d7 Added database support when adding/removing rules.
Needed to add 'sourcify' as a dependency in order to store code blocks
in the database.
2013-05-15 22:12:37 -04:00

25 lines
415 B
Ruby

#
# Copyright (c) 2006-2013 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
class DNS
include DataMapper::Resource
storage_names[:default] = 'extensions_dns'
property :id, Serial
property :pattern, Object
property :block, Text
end
end
end
end