You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
I have been tasked with making changes to a legacy product that we no longer have source code for; the application was developed with Python2.2 and packaged with pyinstaller.
pyinstxtractor-ng identifies the package as being built with Pyinstaller 2.0/Python2.2, but the extraction of the archive fails with an exception when attempting to locate the TOC; could it be an unsupported format?
[+] Processing app.exe
[+] Pyinstaller version: 2.0
[+] Python version: 2.2
[+] Length of package: 978984 bytes
[+] Found 6 files in CArchive
[+] Beginning extraction...please standby
Traceback (most recent call last):
File "pyinstxtractor-ng.py", line 527, in <module>
File "pyinstxtractor-ng.py", line 509, in main
File "pyinstxtractor-ng.py", line 328, in extractFiles
File "pyinstxtractor-ng.py", line 421, in _extractPyz
OSError: [Errno 22] Invalid argument
The text was updated successfully, but these errors were encountered:
update: it looks like this version of pyinstall is using native byte order for the toc location; simply removing the ! operator resolved it for me; I'll keep the issue open because this ideally could be fixed upstream, but I was able to continue my work with this hack.
Going through PyInstaller sources, v1.3 released in 2006 or maybe 2005 was the last version to use native byte order before switching to network byte order aka big endian.
I have been tasked with making changes to a legacy product that we no longer have source code for; the application was developed with Python2.2 and packaged with pyinstaller.
pyinstxtractor-ng identifies the package as being built with Pyinstaller 2.0/Python2.2, but the extraction of the archive fails with an exception when attempting to locate the TOC; could it be an unsupported format?
The text was updated successfully, but these errors were encountered: