Sha256: 5ec1408d22706b615c8186ccc274845d4f8c33f8a9790be258dff2adff0533c1

Contents?: true

Size: 793 Bytes

Versions: 15

Compression:

Stored size: 793 Bytes

Contents

# -*- coding: binary -*-

module Rex
module Post
module Meterpreter
module Extensions
module Stdapi
module Sys
module EventLogSubsystem

###
#
# This class encapsulates the data from an event log record.
#
###
class EventRecord

  attr_reader :num, :generated, :written, :eventid
  attr_reader :type, :category, :strings, :data

  protected

  attr_writer :num, :generated, :written, :eventid
  attr_writer :type, :category, :strings, :data

  public

  def initialize(recnum, timegen, timewri, id, type, cat, strs, data)
    self.num       = recnum
    self.generated = Time.at(timegen)
    self.written   = Time.at(timewri)
    self.eventid   = id
    self.type      = type
    self.category  = cat
    self.strings   = strs
    self.data      = data
  end

end

end end end end end end end

Version data entries

15 entries across 15 versions & 3 rubygems

Version Path
rex-2.0.13 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.12 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.11 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.10 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.9 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.8 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.7 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.5 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.4 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
dstruct-0.0.1 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.3 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.999 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
rex-2.0.2 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.71 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.70 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb