Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix path for uploading com.bypass.mobileactivationd.plist #26

Open
wants to merge 1 commit into
base: main
Choose a base branch
from
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
4 changes: 2 additions & 2 deletions device/Darwin/bypass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
4 changes: 2 additions & 2 deletions device/Linux/bypass.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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"
Expand Down
8 changes: 5 additions & 3 deletions palera1n/palera1n.sh
Original file line number Diff line number Diff line change
Expand Up @@ -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
Expand Down Expand Up @@ -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 ""
Expand Down