Decompile .elf & .exe Binaries.md¶
https://github.com/extremecoders-re/pyinstxtractor
Pyinstxtractor is a script to extract .pyc files from executables created by pyinstaller, py2exe.
X:\> python pyinstxtractor.py test.exe
[+] Processing dist\test.exe
[+] Pyinstaller version: 2.1+
[+] Python version: 36
[+] Length of package: 5612452 bytes
[+] Found 59 files in CArchive
[+] Beginning extraction...please standby
[+] Possible entry point: pyiboot01_bootstrap.pyc
[+] Possible entry point: test.pyc
[+] Found 133 files in PYZ archive
[+] Successfully extracted pyinstaller archive: dist\test.exe
You can now use a python decompiler on the pyc files within the extracted directory.
Pyinstxtractor Web is also available on https://pyinstxtractor-web.netlify.app/