Pylingual Python Decompiler#

This article outlines the steps to set up the Pylingual python decompiler on a Kali VM to decompile python executables.

Tools/Skills Required#

  • Kali Virtual Machine (You can use the prebuilt Kali images available)

  • Ability to use the command-line terminal in Kali

Steps to install Pylingual Decompiler on Kali#

The uv package manager handles the installation of Pylingual. Begin by downloading and installing the uv package manager using the following command:

curl -LsSf https://astral.sh/uv/install.sh | sh

alt text

Comfirm that uv is installed using the following command:

uv --version

alt text

Then, retrieve the files for Pylingual from the official GitHub repository using the git clone command as shown below:

git clone https://github.com/syssec-utd/pylingual

alt text

Then, install Pylingual using the following command:

uv tool install ./pylingual

alt text

Once the installation is complete, the last line of output will indicate that Pylingual is installed successfully:

alt text

You can view Pylingual’s the help menu using the -h switch:

alt text

Pylingual can now be used to decompile Python bytecode files.