Decompile Python with Uncompyle6

16 Oct 2022 - GRX6

uncompyle6 translates Python bytecode back into equivalent Python source code.

It enables the possibility to create .py files using the compiled version .pyc.

Install uncompyle6

It can be installed with your package manager.

sudo pip install uncompyle6

Decompile file

We just need to run the package to see it in action.

uncompyle6 get_flag.cpython-38.pyc -o get_flag.py