Sha256: 1edf0e2fe3f3b92d8eb57d6b015bd4e8fc8eedee9ce1f6ce73caa1d9c1cf375f
Contents?: true
Size: 934 Bytes
Versions: 23
Compression:
Stored size: 934 Bytes
Contents
# A potential target for a {Mdm::Module::Detail exploit Metasploit Module}. Targets can change options including # offsets for ROP chains to tune an exploit to work with different system libraries and versions. class Mdm::Module::Target < ApplicationRecord self.table_name = 'module_targets' # # Associations # # Exploit Metasploit Module with the {#name named} target at the given {#index}. belongs_to :detail, :class_name => 'Mdm::Module::Detail' # # Attributes # # @!attribute index # The index of this target in the {#detail exploit Metasploit Module}'s list of targets. The index is used for # target selection. # # @return [Integer] # @!attribute name # The name of this target. # # @return [String] # # Validators # validates :detail, :presence => true validates :index, :presence => true validates :name, :presence => true Metasploit::Concern.run(self) end
Version data entries
23 entries across 23 versions & 2 rubygems