Dockerfile with 3 decompilers for Python 3.7
Go to file
2023-04-22 09:32:44 -07:00
Dockerfile initial version 2023-04-22 09:32:44 -07:00
entrypoint initial version 2023-04-22 09:32:44 -07:00
LICENSE initial version 2023-04-22 09:32:44 -07:00
pycdc initial version 2023-04-22 09:32:44 -07:00
README.md initial version 2023-04-22 09:32:44 -07:00
unpyc3 initial version 2023-04-22 09:32:44 -07:00

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