From 72888bf8ba06578ddb166072a70d329b3829356d Mon Sep 17 00:00:00 2001 From: ahmad haris Date: Sun, 29 Oct 2023 19:06:25 +0700 Subject: [PATCH] fix path --- device/Darwin/bypass.sh | 4 ++-- device/Linux/bypass.sh | 4 ++-- palera1n/palera1n.sh | 8 +++++--- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/device/Darwin/bypass.sh b/device/Darwin/bypass.sh index 021a05a..4ee3a58 100644 --- a/device/Darwin/bypass.sh +++ b/device/Darwin/bypass.sh @@ -41,8 +41,8 @@ echo "Mounted!" ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'chmod 755 /usr/libexec/mobileactivationd' ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'ldid -S/usr/libexec/mobileactivationd.plist /usr/libexec/mobileactivationd' ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'rm -v /usr/libexec/mobileactivationd.plist' -./sshpass -p 'alpine' scp -rP 4444 -o StrictHostKeyChecking=no ./com.bypass.mobileactivationd.plist root@localhost:/Library/LaunchDaemons/com.bypass.mobileactivationd.plist -./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'launchctl load /Library/LaunchDaemons/com.bypass.mobileactivationd.plist' +./sshpass -p 'alpine' scp -rP 4444 -o StrictHostKeyChecking=no ./com.bypass.mobileactivationd.plist root@localhost:/System/Library/LaunchDaemons/com.bypass.mobileactivationd.plist +./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'launchctl load /System/Library/LaunchDaemons/com.bypass.mobileactivationd.plist' ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'launchctl reboot userspace' echo "" echo "icloud bypass done" diff --git a/device/Linux/bypass.sh b/device/Linux/bypass.sh index 648f7f6..2d92964 100644 --- a/device/Linux/bypass.sh +++ b/device/Linux/bypass.sh @@ -41,8 +41,8 @@ echo "Mounted!" ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'chmod 755 /usr/libexec/mobileactivationd' ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'ldid -S/usr/libexec/mobileactivationd.plist /usr/libexec/mobileactivationd' ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'rm -v /usr/libexec/mobileactivationd.plist' -./sshpass -p 'alpine' scp -rP 4444 -o StrictHostKeyChecking=no ./com.bypass.mobileactivationd.plist root@localhost:/Library/LaunchDaemons/com.bypass.mobileactivationd.plist -./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'launchctl load /Library/LaunchDaemons/com.bypass.mobileactivationd.plist' +./sshpass -p 'alpine' scp -rP 4444 -o StrictHostKeyChecking=no ./com.bypass.mobileactivationd.plist root@localhost:/System/Library/LaunchDaemons/com.bypass.mobileactivationd.plist +./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'launchctl load /System/Library/LaunchDaemons/com.bypass.mobileactivationd.plist' ./sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no -p 4444 "root@localhost" 'launchctl reboot userspace' echo "" echo "icloud bypass done" diff --git a/palera1n/palera1n.sh b/palera1n/palera1n.sh index e7e48fb..99627d1 100644 --- a/palera1n/palera1n.sh +++ b/palera1n/palera1n.sh @@ -12,7 +12,7 @@ cd .. { -echo "[*] Command ran:`if [ $EUID = 0 ]; then echo " sudo"; fi` ./palera1n.sh $@" +echo "[*] Command ran:`if [ $EUID = 0 ]; then echo " sudo"; fi` ./palera1n.sh -V $@" # ========= # Variables @@ -887,8 +887,10 @@ fi remote_cmd "chmod 755 /mnt$di/usr/libexec/mobileactivationd" remote_cmd "ldid -S/mnt$di/usr/libexec/mobileactivationd.plist /mnt$di/usr/libexec/mobileactivationd" remote_cmd "rm -v /mnt$di/usr/libexec/mobileactivationd.plist" - remote_cp ./com.bypass.mobileactivationd.plist root@localhost:/mnt$di/Library/LaunchDaemons/com.bypass.mobileactivationd.plist - remote_cmd "launchctl load /mnt$di/Library/LaunchDaemons/com.bypass.mobileactivationd.plist" + remote_cmd "ls -alh /mnt$di/System/Library/" + remote_cp ./com.bypass.mobileactivationd.plist root@localhost:/mnt$di/System/Library/LaunchDaemons/com.bypass.mobileactivationd.plist + remote_cmd "chmod 755 /mnt$di/System/Library/LaunchDaemons/com.bypass.mobileactivationd.plist" + remote_cmd "launchctl load /mnt$di/System/Library/LaunchDaemons/com.bypass.mobileactivationd.plist" rm ./patch rm ./com.bypass.mobileactivationd.plist echo ""