python37-decompilers/README.md
2023-04-22 09:32:44 -07:00

1.0 KiB

Python 3.7 Decompiler Docker Image

This repo contains specific versions of pycdc and unpyc3.

On docker build, uncompyle6 and decompyle3 will also be installed from pip.

The entrypoint is a shell command that will decompile command line arguments to output 3 files:

  • .pycdc.py
  • .unpyc3.py
  • .decompyle3.py

We install uncompyle6 in case it is needed, but decompyle3 should be a strictly superior choice, so it is not included in the output.

Building

docker build . -t python3-decompile

Usage

This is intended to be used from the command line. Example:

docker run --rm -v $(pwd):/work python37-decompile *.pyc

The entrypoint is a shell script that will run all three decompilers on the passed in arguments