pyinstxtractor ng
2024.08.25
Pyinstxtractor-ng是提取Pyinstaller生成的可執行文件的內容的工具。 Linux Elf和Windows PE可執行文件均得到支持。
該項目是pyinstxtractor的叉子。
pyinstxtractor-ng使用XDIS庫來解開python字節碼,因此無需使用相同的python版本來構建可執行文件。
Pyinstxtractor-ng還支持自動解密加密的Pyinstaller可執行文件。
發行版提供了用於Linux和Windows的預編譯二進製文件。這些是使用Pyinstaller本身生成的,因此您甚至不需要python安裝即可運行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
將EXE文件名作為參數傳遞,或將pyinstaller exe文件拖放到Windows上的pyinstxtractor.ng圖標。
$ ./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