Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

zlib.error: Error -3 while decompressing data: invalid block type #26

Closed
pongsupavit opened this issue Dec 18, 2019 · 9 comments
Closed

Comments

@pongsupavit
Copy link

pongsupavit commented Dec 18, 2019

Could you please help?
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1619, in extractall
self._extract_member(zipinfo, path, pwd)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1674, in _extract_member
shutil.copyfileobj(source, target)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 79, in copyfileobj
buf = fsrc.read(length)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 899, in read
data = self._read1(n)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 975, in _read1
data = self._decompressor.decompress(data, n)
zlib.error: Error -3 while decompressing data: invalid block type

@MatthewPierson
Copy link
Owner

I need the full logs before I can do anything

@pongsupavit
Copy link
Author

IPSW found at given path...
Cleaning up old files...
Files cleaned.
Unzipping..
Traceback (most recent call last):
File "./vieux", line 63, in
ipsw.unzipIPSW(argv[2])
File "/Users/supavitkruaongarjnukool/Desktop/Vieux-master/ipsw.py", line 129, in unzipIPSW
zip_ref.extractall(outputFolder)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1619, in extractall
self._extract_member(zipinfo, path, pwd)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 1674, in _extract_member
shutil.copyfileobj(source, target)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/shutil.py", line 79, in copyfileobj
buf = fsrc.read(length)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 899, in read
data = self._read1(n)
File "/Library/Frameworks/Python.framework/Versions/3.7/lib/python3.7/zipfile.py", line 975, in _read1
data = self._decompressor.decompress(data, n)
zlib.error: Error -3 while decompressing data: invalid distance code

@MatthewPierson
Copy link
Owner

Can you redownload the IPSW from ipsw.me and try again? The IPSW you have now might have got corrupted at some point

@pongsupavit
Copy link
Author

Starting IPSW unzipping
Continuing...
IPSW found at given path...
Cleaning up old files...
Files cleaned.
Unzipping..
Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:12 ECID:00000275AC86BAA4 IBFL:1C SRTG:[iBoot-1704.10]
ERROR: No Apple device in DFU Mode 0x1227 detected after 30.00 second timeout. Exiting.

@MatthewPierson
Copy link
Owner

Just keep rebooting into DFU mode and run it again. This just means the exploit failed.

@pongsupavit
Copy link
Author

Starting IPSW unzipping
Continuing...
IPSW found at given path...
Cleaning up old files...
Files cleaned.
Unzipping..
Found: CPID:8960 CPRV:11 CPFM:03 SCEP:01 BDID:12 ECID:00000275AC86BAA4 IBFL:1C SRTG:[iBoot-1704.10]
Traceback (most recent call last):
File "./vieux", line 73, in
ipsw.unzipIPSW(argv[2])
File "/Users/supavit/Desktop/Vieux-master/ipsw.py", line 153, in unzipIPSW
pwndfumode()
File "/Users/supavit/Desktop/Vieux-master/restore.py", line 28, in pwndfumode
runexploit = checkm8.exploit()
File "/Users/supavit/Desktop/Vieux-master/resources/ipwndfu/checkm8.py", line 532, in exploit
libusb1_async_ctrl_transfer(device, 0x21, 1, 0, 0, b'A' * 0x800, 0.0001)
File "/Users/supavit/Desktop/Vieux-master/resources/ipwndfu/checkm8.py", line 45, in libusb1_async_ctrl_transfer
assert usb.backend.libusb1._lib.libusb_cancel_transfer(transfer_ptr) == 0
AssertionError
Segmentation fault: 11

@MatthewPierson
Copy link
Owner

Thats the same error, just keep trying. Nothing I can do about the low success rate sorry

@pongsupavit
Copy link
Author

Normally, how many times should I try, or Is there any other solution to make higher success rate?

@MatthewPierson
Copy link
Owner

I will be closing this issue in 24 hours if you no longer need help/the issue has been resolved. If you still need help then comment with what you need and I will not close it.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants