Skip to content

Commit

Permalink
only use ipwndfu for alloc8
Browse files Browse the repository at this point in the history
  • Loading branch information
LukeZGD committed Feb 10, 2025
1 parent c2db54a commit 3bfe414
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions restore.sh
Original file line number Diff line number Diff line change
Expand Up @@ -1897,7 +1897,7 @@ device_enter_mode() {
tool_pwned=$?
log "gaster reset"
$gaster reset
elif [[ $device_type == "iPod2,1" || $mode == "device_alloc8" ]]; then
elif [[ $device_type == "iPod2,1" || $2 == "alloc8" ]]; then
# touch 2 uses ipwndfu
# also installing alloc8 requires pwning with ipwndfu
device_ipwndfu pwn
Expand Down Expand Up @@ -8717,7 +8717,7 @@ device_ssh() {
}

device_alloc8() {
device_enter_mode pwnDFU
device_enter_mode pwnDFU alloc8
device_ipwndfu alloc8
log "Done!"
print "* This may take several tries. It can fail a lot with \"Operation timed out\" error."
Expand Down

0 comments on commit 3bfe414

Please sign in to comment.