-
Notifications
You must be signed in to change notification settings - Fork 598
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
这份代码似乎依然在一些 exe 的反编译上有问题 #54
Comments
我自己修改了一下源代码(为了实现自动补充文件头),您可以在这里查看它。(不一定普适但可以解决上述问题) |
wut?? |
发生甚么事了? |
it would have been better if you wrote in english |
......emm I'm sorry.... |
This code still seems to have problems with decompilation of some exe's is what it says |
Please check again with the latest build. This should be working now. |
In a Python 3.7 environment, run
Now you can decompile 1.pyc
|
Great! Thanks for your help. |
当我使用最新版本的 pyinstxtractor.py 时,我得到的 1.pyc 似乎依然没有一个正确的文件头,以至于当我使用 uncompyle6 时会报错:
我使用的 exe 文件可以在这里下载( github 的 issue 似乎无法上传 exe 文件)
按照我的设想,根据 struct.pyc 的文件头可知正确的文件头应当是:
但使用此脚本反编译得到的 1.pyc 的文件头却是:
我使用的反编译命令是:
python3 pyinstxtractor.py pyre.exe
,它看起来很正常。我使用 010editor 这个16进制编辑器查看了这两个 pyc 文件,上面的两种图片即来自于此。
The text was updated successfully, but these errors were encountered: