How to decompile an exe file compiled by py2exe?

后端 未结 4 1112
广开言路
广开言路 2020-12-04 18:32

How to decompile an exe file compiled by py2exe?

just one exe file, didn\'n have any zip file.

how to decompile to pyc or pyo file?

4条回答
  •  野趣味
    野趣味 (楼主)
    2020-12-04 18:47

    I have wrote a small tool in C++ which takes a py2exe generated executable and extracts the PYTHONSCRIPT and Library.zip. The Library.zip contains mostly pyc/pyo files, you can decompile them using any decompiler.

    Links :

    Py2ExeDumper : https://sourceforge.net/projects/py2exedumper/
    Easy Python Decompiler : http://sourceforge.net/projects/easypythondecompiler/

提交回复
热议问题