Skip to content

Instantly share code, notes, and snippets.

View aus's full-sized avatar

aus aus

  • Amazon Web Services
  • Texas
View GitHub Profile
@aus
aus / main.cpp
Created February 21, 2020 17:01 — forked from monoxgas/main.cpp
Adaptive DLL Hijacking - Patching LoadLibrary Return
#include <Windows.h>
#include <intrin.h>
#include <string>
#include <TlHelp32.h>
#include <psapi.h>
BOOL PatchTheRet(HMODULE realModule) {
// Get primary module info