Sha256: d6ecd07b598bfe38df092e6e6d8011a1176d4339c9e1b26f4af2cff5d53ff02d

Contents?: true

Size: 985 Bytes

Versions: 22

Compression:

Stored size: 985 Bytes

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 < ApplicationRecord
  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]

  #
  # Validations
  #

  validates :detail, :presence => true
  validates :name, :presence => true

  Metasploit::Concern.run(self)
end

Version data entries

22 entries across 22 versions & 2 rubygems

Version Path
wg-metasploit_data_models-4.1.4.02 app/models/mdm/module/action.rb
metasploit_data_models-6.0.5 app/models/mdm/module/action.rb
metasploit_data_models-6.0.4 app/models/mdm/module/action.rb
metasploit_data_models-6.0.3 app/models/mdm/module/action.rb
metasploit_data_models-6.0.2 app/models/mdm/module/action.rb
metasploit_data_models-6.0.1 app/models/mdm/module/action.rb
metasploit_data_models-6.0.0 app/models/mdm/module/action.rb
metasploit_data_models-5.0.6 app/models/mdm/module/action.rb
metasploit_data_models-5.0.5 app/models/mdm/module/action.rb
metasploit_data_models-5.0.4 app/models/mdm/module/action.rb
metasploit_data_models-5.0.3 app/models/mdm/module/action.rb
metasploit_data_models-5.0.2 app/models/mdm/module/action.rb
metasploit_data_models-5.0.1 app/models/mdm/module/action.rb
metasploit_data_models-5.0.0 app/models/mdm/module/action.rb
metasploit_data_models-4.1.4 app/models/mdm/module/action.rb
metasploit_data_models-4.1.3 app/models/mdm/module/action.rb
metasploit_data_models-4.1.2 app/models/mdm/module/action.rb
metasploit_data_models-4.1.1 app/models/mdm/module/action.rb
metasploit_data_models-4.1.0 app/models/mdm/module/action.rb
metasploit_data_models-4.0.2 app/models/mdm/module/action.rb