pyinstxtractor ng
2024.08.25
pyinstxtractor-ngは、pyinstaller生成された実行可能ファイルの内容を抽出するツールです。 Linux ELFとWindows PE実行可能ファイルの両方がサポートされています。
このプロジェクトは、pyinstxtractorのフォークです。
pyinstxtractor-ngはXDISライブラリを使用してPython bytecodeを除外して、その結果、実行可能ファイルの構築に使用された同じPythonバージョンを使用する必要はありません。
pyinstxtractor-ngは、暗号化されたpyinstaller実行可能ファイルの自動復号化もサポートしています。
LinuxとWindowsのプリコンパイルされたバイナリは、リリースに提供されています。これらはpyinstaller自体を使用して生成されるため、pyinstxtractor-ngを実行するためにpythonインストールさえ必要ありません
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
exeファイル名を引数として渡すか、windowsのpyinstxtractor.ngアイコンを介してpyinstaller exeファイルをドラッグアンドドロップします。
$ ./pyinstxtractor-ng <filename>
X:> pyinstxtractor-ng <filename>
--one-dirモードは、実行可能ファイルと同じディレクトリにPYZを抽出します。これは、抽出されたファイルをすぐに実行する場合に役立ちます。
X:> pyinstxtractor-ng --one-dir main.exe
X:> cd main.exe_extracted
X:main.exe_extracted> python main.py
GNU一般公開ライセンスv3.0