Now modules/extensions can dynamically add new RR's. However, changes don't take effect until BeEF restarts (fix incoming).
25 lines
410 B
Ruby
25 lines
410 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
|
|
|
|
property :name, String
|
|
property :type, String
|
|
property :value, String
|
|
|
|
property :id, Serial, :key => true
|
|
|
|
end
|
|
|
|
end
|
|
end
|
|
end
|