Sha256: e1afa6f1bc3190da964ec05aee7531aabecc925af4a0902e2bab8459fbceed1c
Contents?: true
Size: 766 Bytes
Versions: 42
Compression:
Stored size: 766 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, :type, :category, :strings, :data protected attr_writer :num, :generated, :written, :eventid, :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
42 entries across 42 versions & 1 rubygems