Skip to content

Instantly share code, notes, and snippets.

View malwareslayer's full-sized avatar
👨‍🔬
Researching

Dwi Mulia Mokoginta malwareslayer

👨‍🔬
Researching
View GitHub Profile
@malwareslayer
malwareslayer / patch.py
Last active July 16, 2024 09:51
Repatching Anti Decompile
import marshal
import struct
import imp
import dis
import time
from types import CodeType
with open("compiled.pyc", "rb") as file:
magic = file.read(4)