Sha256: a23899341832e03d61a67cedf9be485109f987fb13f55ca7b71e4d9128654771
Contents?: true
Size: 935 Bytes
Versions: 42
Compression:
Stored size: 935 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 < ActiveRecord::Base 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
42 entries across 42 versions & 1 rubygems