Skip to content

Instantly share code, notes, and snippets.

View tayler-king's full-sized avatar

Tayler King tayler-king

View GitHub Profile
#include <ntdef.h>
#include <ntifs.h>
#include "Types.h"
PLOAD_IMAGE_NOTIFY_ROUTINE NotifyImageLoadCallback(PUNICODE_STRING FullImageName, HANDLE ProcessID, PIMAGE_INFO w_ImageInfo)
{
if (wcsstr(FullImageName->Buffer, L"\\Win64\\TslGame.exe"))
{
DbgPrintEx(0, 0, "\n[PUBG]: Hooked to %ls \n", FullImageName->Buffer);
const minimist = require('minimist');
const beautify = require('js-beautify').js_beautify;
const fs = require('fs');
const randomWord = require('random-word');
const path = require('path');
var marked = require('marked');
var TerminalRenderer = require('marked-terminal');
marked.setOptions({
// Define custom renderer