Class Rex::Post::Meterpreter::Extensions::Stdapi::Sys::EventLog
In: lib/rex/post/meterpreter/extensions/stdapi/sys/event_log.rb
Parent: Object

This class provides access to the Windows event log on the remote machine.

Methods

Attributes

client  [RW] 

Public Class methods

Initializes an instance of the eventlog manipulator.

Opens the supplied event log.

Public Instance methods

the low level read function (takes flags, not hash, etc).

Clear the specified event log (and return nil).

Return the record number of the oldest event (not necessarily 1).

Return the number of records in the event log.

Return the record number of the oldest event (not necessarily 1).

Read the eventlog backwards, meaning from newest to oldest. Returns a EventRecord, and throws an exception after no more records.

Read the eventlog forwards, meaning from oldest to newest. Returns a EventRecord, and throws an exception after no more records.

[Validate]