hack-different / ipwndfu

Fork of axi0mX's open-source jailbreaking tool for many iOS devices for integration
GNU General Public License v3.0
63 stars 17 forks source link

[Bug]: USB Error 5 with iPhone 9,3 removing signature checks #84

Closed karmaisacat closed 1 year ago

karmaisacat commented 1 year ago

What device? (Specify CHIP/CPID)

8010

What happened?

Hello! I'm trying to pwn and remove signature checks from my iPhone 7 (9,3) and on both Monterey and High Sierra I get the error attached to the log below. Thanks!

Version

1.1

What version of Python?

3.11

Relevant log output

*** checkm8 exploit by axi0mX ***
Found: CPID:8010 CPRV:11 CPFM:03 SCEP:01 BDID:0C ECID:redacted IBFL:3C SRTG:[iBoot-2696.0.0.1.33]
Device is now in pwned DFU Mode.
(1.65 seconds)
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.11/bin/ipwndfu", line 8, in <module>
    sys.exit(main())
             ^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ipwndfu/main.py", line 136, in main
    patch_sigchecks(device, match_device=args.match_device)
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ipwndfu/main.py", line 659, in patch_sigchecks
    pwned.write_memory(trampoline_base + trampoline_offset, shellcode)
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ipwndfu/usbexec.py", line 168, in write_memory
    self.command(
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/ipwndfu/usbexec.py", line 295, in command
    response = device.ctrl_transfer(
               ^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/usb/core.py", line 1082, in ctrl_transfer
    ret = self._ctx.backend.ctrl_transfer(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/usb/backend/libusb1.py", line 893, in ctrl_transfer
    ret = _check(self.lib.libusb_control_transfer(
          ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/Library/Frameworks/Python.framework/Versions/3.11/lib/python3.11/site-packages/usb/backend/libusb1.py", line 604, in _check
    raise USBError(_strerror(ret), ret, _libusb_errno[ret])
usb.core.USBError: [Errno 5] Input/Output Error

Sudo

github-actions[bot] commented 1 year ago

Ya hoo! Thanks for the work item. It's been labeled with 'triage' and will be updated if someone wants to take it on.

Cryptiiiic commented 1 year ago

pwn sigchecks is not officially supported close this issue.

karmaisacat commented 1 year ago

Where should I find support for this then?

Cryptiiiic commented 1 year ago

you somehow missed the common knowledge, use this https://github.com/0x7ff/gaster/