Sha256: 227abcddb53e235ce18232b803b07b54605b0cea5d0097ac0b40df51b770d600

Contents?: true

Size: 920 Bytes

Versions: 3

Compression:

Stored size: 920 Bytes

Contents

# Events that occurred when using a {#session}.
class Mdm::SessionEvent < ActiveRecord::Base
  #
  # Associations
  #

  # The session in which the event occurred.
  belongs_to :session,
             class_name: 'Mdm::Session',
             inverse_of: :events

  # @!attribute command
  #   The command that was run through the session that triggered this event.
  #
  #   @return [String]

  # @!attribute created_at
  #   When this event occurred.
  #
  #   @return [DateTime]

  # @!attribute etype
  #   The type of the event.
  #
  #   @return [String]

  # @!attribute local_path
  #   The current local directory when {#command} was run.
  #
  #   @return [String]

  # @!attribute output
  #   The {#output} of running {#command}.
  #
  #   @return [String]

  # @!attribute remote_path
  #   The current remote directory when {#command} was run.
  #
  #   @return [String]

  Metasploit::Concern.run(self)
end

Version data entries

3 entries across 3 versions & 1 rubygems

Version Path
metasploit_data_models-0.24.4 app/models/mdm/session_event.rb
metasploit_data_models-0.24.3 app/models/mdm/session_event.rb
metasploit_data_models-0.24.2 app/models/mdm/session_event.rb