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