Skip to content

Instantly share code, notes, and snippets.

View gurrion's full-sized avatar

César Gurrión gurrion

  • Coppel
  • Culiacan
View GitHub Profile
@gurrion
gurrion / patch.py
Created September 3, 2025 00:15 — forked from trevor403/patch.py
A small patcher to bypass protected Lua functions in World of Warcraft 3.3.5a client `Wow.exe`
import pefile
import binascii
with open('Wow.exe', 'rb') as f:
name = f.name
b = bytearray(f.read())
def apply_patch(name, offset, patch, expected):
print("PATCHING", name)