我一直在努力反编译一个Python3.9.pyc二进制文件。我尝试过的大多数工具,如:decompile3
,uncompyle6
,……等似乎都会返回错误
ImportError: Unknown magic number 23117
然而,其中一个工具在某种程度上确实起了作用。它被称为python-exe-unpacker
(https://github.com/countercept/python-exe-unpacker),它确实成功地部分解压了二进制文件。这是它给出的输出
[*] On Python 3.9
[*] Processing File.pyc
[*] Pyinstaller version: 2.1+
[*] This exe is packed using pyinstaller
[*] Unpacking the binary now
[*] Python version: 39
[*] Length of package: 6598404 bytes
[*] Found 31 files in CArchive
[*] Beginning extraction...please standby
[*] Found 232 files in PYZ archive
[*] Successfully extracted pyinstaller exe.
在它生成的解包文件夹中,它提取各种文件,其中一个文件是python39.dll
和.pyc文件的假定源代码,只是它已损坏,您只能读取其中非常小的部分(主要是字符串和函数名)。
那么,有没有什么方法可以让我完全反编译它并获得应用程序的完整源代码呢
目前没有回答
相关问题 更多 >
编程相关推荐