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

`--reset` flag - Reboot a device connected via DFU. #33

Closed 0cyn closed 2 years ago

0cyn commented 2 years ago

Might be helpful for tests, etc.

You can do this by requesting too much data with the hexdump read func, but there's probably a better way to implement it as well.

rickmark commented 2 years ago

Also noted the "RESET" and "DFU" ACC_IDs for Lightning are known (see _data/lightning.yaml) so full DFU + Exit is possible with the correct cable

P5-2005 commented 2 years ago

Might be helpful for tests, etc.

You can do this by requesting too much data with the hexdump read func, but there's probably a better way to implement it as well.

really this error kicked my iwatch s2 from dfu even was pwned, its like trick to exist dfu (reset) :D


ipwndfu --patch-sigchecks
Traceback (most recent call last):
  File "/Library/Frameworks/Python.framework/Versions/3.9/bin/ipwndfu", line 8, in <module>
    sys.exit(main())
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ipwndfu/main.py", line 132, in main
    patch_sigchecks(device, match_device=args.match_device)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ipwndfu/main.py", line 591, in patch_sigchecks
    pwned.execute(0, trampoline_base + trampoline_offset)
  File "/Library/Frameworks/Python.framework/Versions/3.9/lib/python3.9/site-packages/ipwndfu/usbexec.py", line 317, in execute
    cmd += "\0" * 4
TypeError: can't concat str to bytes```
github-actions[bot] commented 2 years ago

Stale issue message