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