mirror of
https://github.com/LukeZGD/Legacy-iOS-Kit.git
synced 2024-11-23 16:39:17 +01:00
Fix iproxy
This commit is contained in:
parent
66e64ed1b2
commit
7b18f3bdb1
@ -204,8 +204,8 @@ function kDFU {
|
||||
[[ $VersionDetect == 5 ]] && kloader='kloader5'
|
||||
[[ ! $kloader ]] && kloader='kloader'
|
||||
|
||||
[ ! $(which iproxy) ] && Error "One of the dependencies (iproxy) cannot be found. Please re-install dependencies and try again" "./restore.sh InstallDependencies"
|
||||
iproxy 2222:22 &>/dev/null &
|
||||
[ ! $(which iproxy) ] && Error "iproxy cannot be found. Please re-install dependencies and try again" "./restore.sh InstallDependencies"
|
||||
iproxy 2222 22 &
|
||||
iproxyPID=$!
|
||||
WifiAddr=$(echo "$ideviceinfo" | grep 'WiFiAddress' | cut -c 14-)
|
||||
WifiAddrDecr=$(echo $(printf "%x\n" $(expr $(printf "%d\n" 0x$(echo "${WifiAddr}" | tr -d ':')) - 1)) | sed 's/\(..\)/\1:/g;s/:$//')
|
||||
|
Loading…
Reference in New Issue
Block a user