Cant seem to decompile “PYC” After running it through pyinstxtractor

半城伤御伤魂 提交于 2021-01-27 13:54:54

问题


pyinstxtractor runs to completion without problem, and then suggests to decompress the PYC to get the final .PY file (my goal)

However when I tried to use uncompyle2, uncompyle6, and plethora of other tools none of them worked. (Magic Number Mismatch!) Which means that the file outputted is not a .PYC file...

I opened the outputted file with a hex editor and I can see the source code decoded from hex however Im not able to extract that code in an efficient manner.. It's filled with .'s which should probably be spaces and indentation etc. However nothing i seem to do is able to succesffuly retrieve the source code from hex, or "PYC"

Help?

来源:https://stackoverflow.com/questions/51606219/cant-seem-to-decompile-pyc-after-running-it-through-pyinstxtractor

易学教程内所有资源均来自网络或用户发布的内容,如有违反法律规定的内容欢迎反馈
该文章没有解决你所遇到的问题?点击提问,说说你的问题,让更多的人一起探讨吧!