Sha256: 013dfae1a6d5aa9f2ad378cc5801efaa037da24dcacf32d81aa8c5e304866275

Contents?: true

Size: 906 Bytes

Versions: 22

Compression:

Stored size: 906 Bytes

Contents

# Runs a {#match_set set of matches} to produce {#match_results results}.
class MetasploitDataModels::AutomaticExploitation::Run < ApplicationRecord
  #
  # Associations
  #

  # Results of each match in {#match_set}.
  has_many :match_results,
           class_name:'MetasploitDataModels::AutomaticExploitation::MatchResult',
           inverse_of: :run,
           dependent: :destroy

  # Set of matches to run
  belongs_to :match_set,
             class_name: 'MetasploitDataModels::AutomaticExploitation::MatchSet',
             inverse_of: :runs

  # User that initiated this run.
  belongs_to :user,
             class_name: "Mdm::User",
             inverse_of: :automatic_exploitation_runs

  # Workspace in which this run was performed.
  belongs_to :workspace,
             class_name: "Mdm::Workspace",
             inverse_of: :automatic_exploitation_runs

  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/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-6.0.5 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-6.0.4 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-6.0.3 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-6.0.2 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-6.0.1 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-6.0.0 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-5.0.6 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-5.0.5 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-5.0.4 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-5.0.3 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-5.0.2 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-5.0.1 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-5.0.0 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-4.1.4 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-4.1.3 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-4.1.2 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-4.1.1 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-4.1.0 app/models/metasploit_data_models/automatic_exploitation/run.rb
metasploit_data_models-4.0.2 app/models/metasploit_data_models/automatic_exploitation/run.rb