WithSecureLabs / python-exe-unpacker

A helper script for unpacking and decompiling EXEs compiled from python code.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

For Python 3 Magic Number Missing/Bad Marshal Data

Roy0309 opened this issue · comments

The library pyinstxtractor used here is outdated, so it doesn't apply to the new version of Python 3 (like 3.8).
I just downloaded the latest one from extremecoders-re/pyinstxtractor: PyInstaller Extractor.
Usage:
python pyinstxtractor.py Example.exe
uncompyle6 .\Example_extracted\Example.pyc > Example.py
And it works fine for me.