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