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

Version Path
librex-0.0.63 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.54 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.53 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.52 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.51 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.50 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.49 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.48 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.47 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.46 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.44 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.43 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.42 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.41 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.40 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.39 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.38 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.37 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.36 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb
librex-0.0.35 lib/rex/post/meterpreter/extensions/stdapi/sys/event_log_subsystem/event_record.rb