Sha256: 2533cf7a6596ab1fc74bce99cbfc01925cfe1c70f3dc7378424453293206293f
Contents?: true
Size: 764 Bytes
Versions: 1
Compression:
Stored size: 764 Bytes
Contents
#!/usr/bin/env ruby 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
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
librex-0.0.65 | lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb |