Sha256: f8bd62ec6c11688beca1a2dd8f7a72cf0445d1b218d2f60619856f6a9c8e3010

Contents?: true

Size: 923 Bytes

Versions: 42

Compression:

Stored size: 923 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

42 entries across 42 versions & 1 rubygems

Version Path
metasploit_data_models-1.0.1 app/models/mdm/session_event.rb
metasploit_data_models-1.0.0 app/models/mdm/session_event.rb