Skip to content

Instantly share code, notes, and snippets.

View irexyc's full-sized avatar
🎯
Focusing

Chen Xin irexyc

🎯
Focusing
View GitHub Profile
@irexyc
irexyc / fixNvPe.py
Created March 31, 2022 13:20 — forked from cobryan05/fixNvPe.py
Python Script to disable ASLR and make nv fatbins read-only to reduce memory commit
# Simple script to disable ASLR and make .nv_fatb sections read-only
# Requires: pefile ( python -m pip install pefile )
# Usage: fixNvPe.py --input path/to/*.dll
import argparse
import pefile
import glob
import os
import shutil