Class: MetasploitDataModels::AutomaticExploitation::Match

Inherits:
ApplicationRecord
  • Object
show all
Defined in:
app/models/metasploit_data_models/automatic_exploitation/match.rb

Overview

Matches #matchable Mdm::Service or Mdm::Vuln to a Metasploit Module that can exploit it.

Instance Method Summary collapse

Instance Method Details

#matchableMdm::Service, Mdm::Vuln

A (polymorphic) "matchable" entity like a Mdm::Vuln or Mdm::Service

Returns:


10
# File 'app/models/metasploit_data_models/automatic_exploitation/match.rb', line 10

belongs_to :matchable, polymorphic: true