python生成的exe反编译
所需工具
-
pyinstxtractor.py
下载地址:https://sourceforge.net/projects/pyinstallerextractor/
-
010Editor
下载地址:https://www.sweetscape.com/010editor/
步骤
-
将pyinstxtractor.py与exe放置在一个文件夹内,打开cmd,输入下列指令生成一个文件夹
python pyinstxtractor.py xxx.exe
-
使用010Editor打开文件夹中的main和struct,将struct中E3前面的字节复制粘贴到010Editor的E3前
-
修改main文件后缀为main.pyc
-
使用在线工具https://tool.lu/pyc/将main.pyc反编译为py文件