Sha256: da70a77f3c89376222564978994b40b9b651a1a78ab126020e1b8b475b603a49
Contents?: true
Size: 1.02 KB
Versions: 3
Compression:
Stored size: 1.02 KB
Contents
# Actions that auxiliary or post Metasploit Modules can perform. Actions are used to select subcommand-like behavior # implemented by the same Metasploit Nodule. The semantics of a given action are specific to a given # {Mdm::Module::Detail Metasploit Module}: if two {Mdm::Module::Detail Metasploit Modules} have # {Mdm::Module::Action actions} with the same {Mdm::Module::Action#name name}, no similarity should be assumed between # those two {Mdm::Module::Action actions} or {Mdm::Module::Detail Metasploit Modules}. class Mdm::Module::Action < ActiveRecord::Base self.table_name = 'module_actions' # # Associations # # The Metasploit Module with this action. belongs_to :detail, :class_name => 'Mdm::Module::Detail' # # Attributes # # @!attribute [rw] name # The name of this action. # # @return [String] # # Mass Assignment Security # attr_accessible :name # # Validations # validates :detail, :presence => true validates :name, :presence => true Metasploit::Concern.run(self) end
Version data entries
3 entries across 3 versions & 1 rubygems
Version | Path |
---|---|
metasploit_data_models-0.24.4 | app/models/mdm/module/action.rb |
metasploit_data_models-0.24.3 | app/models/mdm/module/action.rb |
metasploit_data_models-0.24.2 | app/models/mdm/module/action.rb |