Skip to content

Instantly share code, notes, and snippets.

View k-Knight's full-sized avatar

k-Knight

View GitHub Profile
@k-Knight
k-Knight / dll_asm_proxy_gen.py
Created February 23, 2026 15:25
Python script to generate a 64-bit DLL proxy using naked exports and Intel assembly for transparent function logging
import sys
import os
import pefile
from cpp_demangle import demangle
from pathlib import Path
dll_proxy_template = """
#include <windows.h>
#include <stdio.h>
#include <filesystem>