问题描述
我有一个由pyinstaller构建的exe,因此,我将其解压缩,现在我想解压缩文件* .pyz,该文件包含所有脚本文件,但文件名不带扩展名(在元组True isFalse中仅文件名和is_packet)。示例文件列表,其中返回Zlib
I have exe build by pyinstaller, so, i unpack it, and now i want unpack file *.pyz, where containing all script files, but filenames without extensions (only file names and is_packet in tuple True\False). Example files list, where return Zlib
BeautifulSoup
ConfigParser
HTMLParser
PyQt4
Queue
StringIO
UserDict
_LWPCookieJar
_MozillaCookieJar
__future__
_abcoll
_strptime
_threading_local
您怎么看,没有扩展名的文件和所有加密的文件。此解压缩文件的示例:
How you can see, files without extensions and all files encrypted. Example this unpacked files: http://www.sendspace.com/file/pky00m
那么,我如何反编译它?谢谢
So, how i can decompile it? Thanks
推荐答案
我写了 ,它将获取pyinstaller生成的exe文件并提取其内容,包括PYZ文件和其中的所有内容
I have written a python script which will take a pyinstaller generated exe file and extract its contents including the PYZ file and every thing within
使用该脚本后,使用 来反编译生成的pyc文件。
After using that script use Easy Python Decompiler to decompile the generated pyc files.
如果您更感兴趣,
我已经写了一篇详细的文章介绍了如何逆转这种应用程序。这是链接。
If you are more interested ,I have written a detailed paper on reversing such an application. Here is the link.
这篇关于如何从PyInstaller PYZ文件反编译文件的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持!