Skip to content

Instantly share code, notes, and snippets.

View CrCrisan's full-sized avatar

CrCrisan CrCrisan

View GitHub Profile
@CrCrisan
CrCrisan / pteV2.js
Last active July 14, 2023 02:35
Alternative for WinDbg !pte command
"use strict";
const system = x => host.namespace.Debugger.Utility.Control.ExecuteCommand(x);
const log = x => host.diagnostics.debugLog(`${x}\n`);
const convertStrToInt64 = str => host.parseInt64(str);
const replaceString = (string, search, replaceWith) => {
return string.split(search).join(replaceWith);
}