Extract contents of a Windows executable file created by pyinstaller
MIGRATED TO GITHUB
https://github.com/extremecoders-re/pyinstxtractor
This is a python script to extract the contents of a PyInstaller generated Windows executable file.
The contents of the pyz file (usually pyc files) present inside the executable are also extracted.
The pyc files are made valid so that a python bytecode decompiler will recognise it.
Script can run on both python 2.x and 3.x
Pyinstaller versions 2.0, 2.1, 3.0, 3.1 and 3.2 are supported
IDC is an interactive decompiler, where the user starts with an almost literal translation of Assembly code in C language, which he progressively decompiles by the successive application of low-level refactorings, ultimately leading to high-level C code.
Decompyle is a python disassembler and decompiler which converts Python byte-code (.pyc or .pyo) back into equivalent Python source. Verification of the produced code (re-compiled) is avaliable as well.