Class Rex::Exploitation::HeapLib
In: lib/rex/exploitation/heaplib.rb
Parent: Object

Encapsulates the generation of the Alexander Sotirov‘s HeapLib javascript stub

Methods

load_js   new   to_s  

Constants

JavascriptFile = File.join(File.dirname(__FILE__), "heaplib.js.b64")   The source file to load the javascript from
SymbolNames = { "Methods" => [ "vtable", "lookasideAddr", "lookaside", "freeList", "gc", "flushOleaut32", "freeOleaut32", "allocOleaut32", "free", "alloc", "addr", "hex", "round", "paddingStr", "padding", "debugBreak", "debugHeap", "debug", ], "Classes" => [ { 'Namespace' => "heapLib", 'Class' => "ie" }   The list of symbols found in the file. This is used to dynamically replace contents.

Public Class methods

Initializes the heap library javascript

Public Instance methods

Return the replaced version of the javascript

Protected Instance methods

Loads the raw javascript from the source file and strips out comments

[Validate]