Python version 3.9+ is cannot be decompiled?

1.6k Views Asked by At

I have an exe produced with pyinstaller. this much I converted it to pyc format using the pyinstxtractor tool, then I found my main file among the extracted files. And uncompyle6 and decompile3 it I tried to decompile with the tools, but I learned that these tools support up to 3.8 at most. What should I do at this point, how can I access the source code of this exe. I can read a human-readable, disassembled version of pyc using a tool called pyc2bytecode, but is that all? What can I do to decompile python's compiled code for 3.9 or 3.10 back to source code? I was wondering if there is a current solution to this problem...

1

There are 1 best solutions below

0
YiShan On

The uncompyle6 highest version currently supported is python 3.8,if you need support python 3.9 and you need to make your self tool.

You can read this doc and use dis of python moulde:https://docs.python.org/3/library/dis.html?highlight=dis#module-dis