From 72a649e3291f676c0e936d73aafcf561ed6cac5b Mon Sep 17 00:00:00 2001 From: LukeeGD Date: Tue, 31 Mar 2020 14:13:51 +0800 Subject: [PATCH] Update restore.sh --- restore.sh | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/restore.sh b/restore.sh index 6d8799e..17d337d 100755 --- a/restore.sh +++ b/restore.sh @@ -188,9 +188,9 @@ function kDFU { mv $iBSS.dfu saved/$ProductType fi echo "[Log] Decrypting iBSS..." - echo "IV = ${!IV}" - echo "Key = ${!Key}" - resources/tools/xpwntool_$platform saved/$ProductType/$iBSS.dfu tmp/iBSS.dec -k ${!Key} -iv ${!IV} -decrypt + echo "IV = $IV" + echo "Key = $Key" + 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 echo "[Log] Patching iBSS..." bspatch tmp/iBSS.dec2 tmp/pwnediBSS resources/patches/$iBSS.patch