Sha256: 766f2340dc19daaa24aa9ef5b7ee8e663a2094aad65c7dbe9868de5211273ab7

Contents?: true

Size: 1.02 KB

Versions: 45

Compression:

Stored size: 1.02 KB

Contents

# @deprecated use {Mdm::ExploitAttempt} instead.
#
# When a {#host} or {#service} on a {#host} is exploited.
class Mdm::ExploitedHost < ActiveRecord::Base
  #
  # Associations
  #

  # The host that was exploited.
  belongs_to :host,
             class_name: 'Mdm::Host',
             inverse_of: :exploited_hosts

  # The service on {#host} that was exploited.
  belongs_to :service,
             class_name: 'Mdm::Service',
             inverse_of: :exploited_hosts

  #
  # Attributes
  #

  # @!attribute name
  #   Name of exploit.
  #
  #   @return [String]

  # @!attribute payload
  #   {Mdm::Module::Class#full_name Full name of the payload module} used to exploit the {#host} or {#service} on
  #   {#host}.
  #
  #   @return [String]

  # @!attribute session_uuid
  #   UUID of local session.
  #
  #   @return [String]
  #   @deprecated Sessions no longer have UUIDs.  They have {Mdm::Session#local_id} that reflects the in-memory
  #     Msf::Session ID and an in-database {Mdm::Session#id}.

  Metasploit::Concern.run(self)
end

Version data entries

45 entries across 45 versions & 1 rubygems

Version Path
metasploit_data_models-3.0.10 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.9 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.8 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.7 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.6 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.5 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.17 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.4 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.2 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.1 app/models/mdm/exploited_host.rb
metasploit_data_models-3.0.0 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.16 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.15 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.14 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.13 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.12 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.11 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.10 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.9 app/models/mdm/exploited_host.rb
metasploit_data_models-2.0.8 app/models/mdm/exploited_host.rb