Skip to main content

PyInstaller Extractor Next Generation

Project description

pyinstxtractor-ng

pyinstxtractor-ng is a tool to extract the contents of a Pyinstaller generated executable file. Both Linux ELFs and Windows PE executables are supported.

This project is a fork of pyinstxtractor.

pyinstxtractor-ng uses the xdis library to unmarshal Python bytecode and as a result there is NO requirement to use the same Python version which was used to build the executable.

pyinstxtractor-ng also supports automatic decryption of encrypted pyinstaller executables.

Usage

Precompiled binaries for Linux and Windows are provided in releases. These are generated using PyInstaller itself, so you don't even need a Python installation to run pyinstxtractor-ng

PyInstaller Extractor NG

positional arguments:
  filename       Path to the file to extract

optional arguments:
  -h, --help     show this help message and exit
  -d, --one-dir  One directory mode, extracts the pyz to the same directory

Pass the exe filename as an argument or drag & drop the pyinstaller exe file over pyinstxtractor.ng icon on Windows.

$ ./pyinstxtractor-ng <filename>
X:\> pyinstxtractor-ng <filename>

The --one-dir mode extracts the pyz in the same directory as the executable. This is useful if you want to run the extracted files straight-away.

X:\> pyinstxtractor-ng --one-dir main.exe
X:\> cd main.exe_extracted
X:\main.exe_extracted\> python main.py

See Also

  • pyinstxtractor-web: pyinstxtractor running in the web browser, powered by Go & GopherJS.

License

GNU General Public License v3.0

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

pyinstxtractor_ng-2025.1.6.tar.gz (18.2 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

pyinstxtractor_ng-2025.1.6-py3-none-any.whl (19.5 kB view details)

Uploaded Python 3

File details

Details for the file pyinstxtractor_ng-2025.1.6.tar.gz.

File metadata

  • Download URL: pyinstxtractor_ng-2025.1.6.tar.gz
  • Upload date:
  • Size: 18.2 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/6.0.1 CPython/3.12.8

File hashes

Hashes for pyinstxtractor_ng-2025.1.6.tar.gz
Algorithm Hash digest
SHA256 1bfb0a83e91b7a95c4b7e398c960b4e1d262f1c993ff865f6598ed487c3eead3
MD5 a882a3e815944995a962d582dba5ffe6
BLAKE2b-256 da24758c0576eece0e5e36eb1db0226959c87629827b135766981945ebacace7

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyinstxtractor_ng-2025.1.6.tar.gz:

Publisher: publish.yml on pyinstxtractor/pyinstxtractor-ng

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

Details for the file pyinstxtractor_ng-2025.1.6-py3-none-any.whl.

File metadata

File hashes

Hashes for pyinstxtractor_ng-2025.1.6-py3-none-any.whl
Algorithm Hash digest
SHA256 96dadf6ecb1a0571578a1c97f44f696263d4cb9c8919a999786e8d15183d5e20
MD5 6cfae0ee9b80f8521e4ee114e2e9f6bc
BLAKE2b-256 9ae20ee2273464889e37e9527f4940dfe26e3fed7cc03f9cc4cc831cc72409ac

See more details on using hashes here.

Provenance

The following attestation bundles were made for pyinstxtractor_ng-2025.1.6-py3-none-any.whl:

Publisher: publish.yml on pyinstxtractor/pyinstxtractor-ng

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Supported by

AWS Cloud computing and Security Sponsor Datadog Monitoring Depot Continuous Integration Fastly CDN Google Download Analytics Pingdom Monitoring Sentry Error logging StatusPage Status page