Skip to content
/ pyipx Public

A tool for unpacking and repackaging PyInstaller applications

License

Notifications You must be signed in to change notification settings

in1nit1t/pyipx

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

2 Commits
 
 
 
 
 
 

Repository files navigation

pyipx

pyipx is a tool for extracting and repackaging pyinstaller applications.

Here are the features supported by this script.

Extraction Repackaging
File Type EXE, ELF, RAW EXE, ELF, RAW
Python Version 2.7 && 3.x 3.x
PyInstaller Version 2.0 ~ 6.3.0 3.6 ~ 6.3.0

Installation

If you need to process ELF files, make sure pyelftools is installed.

$ pip install pyelftools==0.29

Usage

For extraction, you need to pass the file path as parameter.

$ python pyipx.py <file>

This file can be of the following three types:

  • EXE: executable file on Windows platform
  • ELF: executable file on Linux platform
  • RAW: pydata.dump you get from the ELF binary, reference

For repackaging, this script needs three parameters.

$ python pyipx.py <file> <dir> <out>
  • file: original executable file
  • dir: directory to be repackaged
  • out: repackage file output path

Note

  1. Please use Linux to repack ELF binaries.
  2. It is highly recommended to run the script in the same version of Python that was used to generate the executable.

Inspired by

pyinstxtractor

License

GNU General Public License v3.0

About

A tool for unpacking and repackaging PyInstaller applications

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages