mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2025-02-17 08:56:22 +01:00
Use latest iPwnder32 macOS
This commit is contained in:
parent
6f0fdbf691
commit
758c99cc7b
Binary file not shown.
Binary file not shown.
14
restore.sh
14
restore.sh
@ -49,7 +49,6 @@ function Main {
|
|||||||
irecoverychk="resources/libirecovery/bin/irecovery"
|
irecoverychk="resources/libirecovery/bin/irecovery"
|
||||||
irecovery="sudo LD_LIBRARY_PATH=resources/lib $irecoverychk"
|
irecovery="sudo LD_LIBRARY_PATH=resources/lib $irecoverychk"
|
||||||
partialzip="resources/tools/partialzip_linux"
|
partialzip="resources/tools/partialzip_linux"
|
||||||
pwnedDFU="sudo LD_LIBRARY_PATH=resources/lib resources/tools/pwnedDFU_linux"
|
|
||||||
python="python2"
|
python="python2"
|
||||||
futurerestore1="sudo LD_PRELOAD=resources/lib/libcurl.so.3 LD_LIBRARY_PATH=resources/lib resources/tools/futurerestore1_linux"
|
futurerestore1="sudo LD_PRELOAD=resources/lib/libcurl.so.3 LD_LIBRARY_PATH=resources/lib resources/tools/futurerestore1_linux"
|
||||||
futurerestore2="sudo LD_LIBRARY_PATH=resources/lib resources/tools/futurerestore2_linux"
|
futurerestore2="sudo LD_LIBRARY_PATH=resources/lib resources/tools/futurerestore2_linux"
|
||||||
@ -73,10 +72,10 @@ function Main {
|
|||||||
idevicerestore="resources/tools/idevicerestore_macos"
|
idevicerestore="resources/tools/idevicerestore_macos"
|
||||||
iproxy="resources/libimobiledevice_macos/iproxy"
|
iproxy="resources/libimobiledevice_macos/iproxy"
|
||||||
ipsw="tools/ipsw_macos"
|
ipsw="tools/ipsw_macos"
|
||||||
|
ipwnder32="resources/tools/iPwnder32"
|
||||||
irecovery="resources/libimobiledevice_macos/irecovery"
|
irecovery="resources/libimobiledevice_macos/irecovery"
|
||||||
irecoverychk=$irecovery
|
irecoverychk=$irecovery
|
||||||
partialzip="resources/tools/partialzip_macos"
|
partialzip="resources/tools/partialzip_macos"
|
||||||
pwnedDFU="resources/tools/pwnedDFU_macos"
|
|
||||||
python="python"
|
python="python"
|
||||||
futurerestore1="resources/tools/futurerestore1_macos"
|
futurerestore1="resources/tools/futurerestore1_macos"
|
||||||
futurerestore2="resources/tools/futurerestore2_macos"
|
futurerestore2="resources/tools/futurerestore2_macos"
|
||||||
@ -366,8 +365,7 @@ function CheckM8 {
|
|||||||
select opt in "${Selection[@]}"; do
|
select opt in "${Selection[@]}"; do
|
||||||
case $opt in
|
case $opt in
|
||||||
"ipwndfu" ) pwnDFUTool="ipwndfu"; break;;
|
"ipwndfu" ) pwnDFUTool="ipwndfu"; break;;
|
||||||
"iPwnder32" ) pwnDFUTool="iPwnder32"; break;;
|
*) pwnDFUTool="iPwnder32"; break;;
|
||||||
*) pwnDFUTool="${Selection[0]}"; break;;
|
|
||||||
esac
|
esac
|
||||||
done
|
done
|
||||||
else
|
else
|
||||||
@ -379,10 +377,14 @@ function CheckM8 {
|
|||||||
sudo $python ipwndfu -p
|
sudo $python ipwndfu -p
|
||||||
pwnDFUDevice=$?
|
pwnDFUDevice=$?
|
||||||
elif [[ $pwnDFUTool == "iPwnder32" ]]; then
|
elif [[ $pwnDFUTool == "iPwnder32" ]]; then
|
||||||
$pwnedDFU -p -f
|
if [ ! -e $ipwnder32 ]; then
|
||||||
|
SaveFile https://dora2ios.web.app/iPwnder32/iPwnder32_v3.1.0.zip tmp/iPwnder32.zip b2cf12c96a64b2be822710b97dbf03073d60bbc7
|
||||||
|
unzip -o -j tmp/iPwnder32.zip iPwnder32_macosx/iPwnder32 -d resources/tools
|
||||||
|
fi
|
||||||
|
$ipwnder32 -p
|
||||||
pwnDFUDevice=$?
|
pwnDFUDevice=$?
|
||||||
cd resources/ipwndfu
|
cd resources/ipwndfu
|
||||||
fi
|
fi
|
||||||
if [[ $pwnDFUDevice == 0 ]]; then
|
if [[ $pwnDFUDevice == 0 ]]; then
|
||||||
Log "Device in pwnDFU mode detected."
|
Log "Device in pwnDFU mode detected."
|
||||||
if [[ $A7Device == 1 ]]; then
|
if [[ $A7Device == 1 ]]; then
|
||||||
|
Loading…
x
Reference in New Issue
Block a user