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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
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
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
1bfb0a83e91b7a95c4b7e398c960b4e1d262f1c993ff865f6598ed487c3eead3
|
|
| MD5 |
a882a3e815944995a962d582dba5ffe6
|
|
| BLAKE2b-256 |
da24758c0576eece0e5e36eb1db0226959c87629827b135766981945ebacace7
|
Provenance
The following attestation bundles were made for pyinstxtractor_ng-2025.1.6.tar.gz:
Publisher:
publish.yml on pyinstxtractor/pyinstxtractor-ng
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyinstxtractor_ng-2025.1.6.tar.gz -
Subject digest:
1bfb0a83e91b7a95c4b7e398c960b4e1d262f1c993ff865f6598ed487c3eead3 - Sigstore transparency entry: 160129829
- Sigstore integration time:
-
Permalink:
pyinstxtractor/pyinstxtractor-ng@b733293b0b940a74d007c682143e595cf5cd0511 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pyinstxtractor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b733293b0b940a74d007c682143e595cf5cd0511 -
Trigger Event:
workflow_dispatch
-
Statement type:
File details
Details for the file pyinstxtractor_ng-2025.1.6-py3-none-any.whl.
File metadata
- Download URL: pyinstxtractor_ng-2025.1.6-py3-none-any.whl
- Upload date:
- Size: 19.5 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? Yes
- Uploaded via: twine/6.0.1 CPython/3.12.8
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
96dadf6ecb1a0571578a1c97f44f696263d4cb9c8919a999786e8d15183d5e20
|
|
| MD5 |
6cfae0ee9b80f8521e4ee114e2e9f6bc
|
|
| BLAKE2b-256 |
9ae20ee2273464889e37e9527f4940dfe26e3fed7cc03f9cc4cc831cc72409ac
|
Provenance
The following attestation bundles were made for pyinstxtractor_ng-2025.1.6-py3-none-any.whl:
Publisher:
publish.yml on pyinstxtractor/pyinstxtractor-ng
-
Statement:
-
Statement type:
https://in-toto.io/Statement/v1 -
Predicate type:
https://docs.pypi.org/attestations/publish/v1 -
Subject name:
pyinstxtractor_ng-2025.1.6-py3-none-any.whl -
Subject digest:
96dadf6ecb1a0571578a1c97f44f696263d4cb9c8919a999786e8d15183d5e20 - Sigstore transparency entry: 160129830
- Sigstore integration time:
-
Permalink:
pyinstxtractor/pyinstxtractor-ng@b733293b0b940a74d007c682143e595cf5cd0511 -
Branch / Tag:
refs/heads/main - Owner: https://github.com/pyinstxtractor
-
Access:
public
-
Token Issuer:
https://token.actions.githubusercontent.com -
Runner Environment:
github-hosted -
Publication workflow:
publish.yml@b733293b0b940a74d007c682143e595cf5cd0511 -
Trigger Event:
workflow_dispatch
-
Statement type: