pyinstxtractor icon indicating copy to clipboard operation
pyinstxtractor copied to clipboard

Missing encrypted files after successful extract

Open UltraV8 opened this issue 3 years ago • 5 comments

I’m trying to extract a PYZ that I know it should contains *.pyc.encrypted files. The extraction finished without any errors but those files are missing, what could be the reason for that?

UltraV8 avatar Sep 16 '22 13:09 UltraV8

There should be a pyz file within the extracted directory. What's the size of that file?

extremecoders-re avatar Sep 17 '22 06:09 extremecoders-re

It’s about 12M

UltraV8 avatar Sep 17 '22 23:09 UltraV8

Please make sure you're using the same version of Python as the one used to build the executable. Running pyinstxtractor in a different version of Python would skip pyz extraction.

Alternatively try pyinstxtractor-ng: https://github.com/pyinstxtractor/pyinstxtractor-ng It's a standalone tool and doesn't require even a Python installation.

extremecoders-re avatar Sep 18 '22 12:09 extremecoders-re

Thanks for the reply, I verified that they are both the same version -3.8, and tried the portable version but got the same results. Could it be that these modules are loaded only at runtime and they can’t be extracted statically?

UltraV8 avatar Sep 22 '22 08:09 UltraV8

Loading at runtime doesn't matter. If the pyz is there it should be extracted, unless its using a custom pyinstaller bootloader.

extremecoders-re avatar Sep 22 '22 12:09 extremecoders-re