Sha256: 204edbfb957c3491c979c0a9b1ecf257b827950dfe378bc4455ff792c0f754ca
Contents?: true
Size: 1.16 KB
Versions: 2
Compression:
Stored size: 1.16 KB
Contents
class MetasploitDataModels::AutomaticExploitation::Match < ActiveRecord::Base # # Associations # # @!attribute matchable # A (polymorphic) "matchable" entity like a {Mdm::Vuln} or {Mdm::Service} # # @return [Mdm::Vuln, Mdm::Service] belongs_to :matchable, polymorphic: true # @!attribute module_detail # The MSF module that this match connects to # # @return [Mdm::Module::Detail] belongs_to :module_detail, class_name: 'Mdm::Module::Detail', foreign_key: :module_fullname, primary_key: :fullname # @!attribute match_set # The {MatchSet} this match is part of # # @return [MetasploitDataModels::AutomaticExploitation::MatchResult] has_many :match_results, class_name: 'MetasploitDataModels::AutomaticExploitation::MatchResult', inverse_of: :match # @!attribute match_set # The {MatchSet} this match is part of # # @return [MetasploitDataModels::AutomaticExploitation::MatchSet] belongs_to :match_set, class_name: 'MetasploitDataModels::AutomaticExploitation::MatchSet', inverse_of: :matches Metasploit::Concern.run(self) end
Version data entries
2 entries across 2 versions & 1 rubygems