mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-12-25 15:51:50 +01:00
Update restore.sh
This commit is contained in:
parent
dc947f9114
commit
72a649e329
@ -188,9 +188,9 @@ function kDFU {
|
|||||||
mv $iBSS.dfu saved/$ProductType
|
mv $iBSS.dfu saved/$ProductType
|
||||||
fi
|
fi
|
||||||
echo "[Log] Decrypting iBSS..."
|
echo "[Log] Decrypting iBSS..."
|
||||||
echo "IV = ${!IV}"
|
echo "IV = $IV"
|
||||||
echo "Key = ${!Key}"
|
echo "Key = $Key"
|
||||||
resources/tools/xpwntool_$platform saved/$ProductType/$iBSS.dfu tmp/iBSS.dec -k ${!Key} -iv ${!IV} -decrypt
|
resources/tools/xpwntool_$platform saved/$ProductType/$iBSS.dfu tmp/iBSS.dec -k $Key -iv $IV -decrypt
|
||||||
dd bs=64 skip=1 if=tmp/iBSS.dec of=tmp/iBSS.dec2
|
dd bs=64 skip=1 if=tmp/iBSS.dec of=tmp/iBSS.dec2
|
||||||
echo "[Log] Patching iBSS..."
|
echo "[Log] Patching iBSS..."
|
||||||
bspatch tmp/iBSS.dec2 tmp/pwnediBSS resources/patches/$iBSS.patch
|
bspatch tmp/iBSS.dec2 tmp/pwnediBSS resources/patches/$iBSS.patch
|
||||||
|
Loading…
Reference in New Issue
Block a user