KEMBAR78
Myi Cloud Bypass Script 3 | PDF | Networking Standards | Internet Architecture
83% found this document useful (6 votes)
3K views6 pages

Myi Cloud Bypass Script 3

The document contains Bash script functions that perform various tasks related to jailbreaking and modifying an iOS device: - The Activate function pairs the device and activates it using idevicepair and ideviceactivation. - The Setup function copies a preferences file to the device and modifies its permissions. - The generate function extracts device information using ideviceinfo and writes it to an XML file.

Uploaded by

Brayan Villa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
83% found this document useful (6 votes)
3K views6 pages

Myi Cloud Bypass Script 3

The document contains Bash script functions that perform various tasks related to jailbreaking and modifying an iOS device: - The Activate function pairs the device and activates it using idevicepair and ideviceactivation. - The Setup function copies a preferences file to the device and modifies its permissions. - The generate function extracts device information using ideviceinfo and writes it to an XML file.

Uploaded by

Brayan Villa
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as TXT, PDF, TXT or read online on Scribd
You are on page 1/ 6

#!

bin/bash
function Activate () {
idevicepair pair
sleep 2
idevicepair pair
sleep 2
ideviceactivation activate -d -s https://192.168.100.73/index.php &>>./ACTIVATION
sleep 5
}
function Setup () {
$ssh chflags nouchg
/./private/var/mobile/Library/Preferences/com.apple.purplebuddy.plist
$ssh rm -r -f /./private/var/mobile/Library/Preferences/com.apple.purplebuddy.plist

$scp ./Utilidades/Dylibs/com.apple.purplebuddy.plist
''$host'private/var/mobile/Library/Preferences/'
$ssh 'chmod 600
/./private/var/mobile/Library/Preferences/com.apple.purplebuddy.plist'
$ssh 'chflags uchg
/./private/var/mobile/Library/Preferences/com.apple.purplebuddy.plist && uicache
--all && killall BackBoard'
}
function generate () {
IMEI=$(ideviceinfo | grep InternationalMobileEquipmentIdentity | awk {'printf
$NF'})
sleep 1
MEID=$(ideviceinfo | grep MobileEquipmentIdentifier | awk {'printf $NF'})
sleep 1
IMSI=$(ideviceinfo | grep InternationalMobileSubscriberIdentity | awk {'printf
$NF'})
sleep 1
iccid=$(ideviceinfo | grep IntegratedCircuitCardIdentity | awk {'printf $NF'})
sleep 1
carrier=$(ideviceinfo | grep CFBundleIdentifier | awk {'printf $NF'})
sleep 1
CF=$(ideviceinfo | grep CFBundleVersion | awk {'printf $NF'})
sleep 1
SLOT=$(ideviceinfo | grep Slot | awk {'printf $NF'})
sleep 1
ProtocolVersion=$(ideviceinfo | grep ProtocolVersion | awk {'printf $NF'})
sleep 1
idevicepair pair
rm -rf ./CO &>>/dev/null
sleep 2
echo '<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE plist PUBLIC "-//Apple//DTD PLIST 1.0//EN"
"http://www.apple.com/DTDs/PropertyList-1.0.dtd">
<plist version="1.0">
<dict>
<key>ReportedSubscriberIdentity</key>
<string></string>
<key>ne_config_state</key>
<false/>
<key>meid</key>
<string></string>
<key>kOperatorRoamingInfo_Subscriber_Mnc</key>
<string>03</string>
<key>imeis</key>
<array>
<dict>
<key>second</key>
<string></string>
<key>first</key>
<string>1:</string>
</dict>
</array>
<key>kCarrierSpaceLastRefreshStatusKey</key>
<integer>6000</integer>
<key>kLastUploadTimestamp</key>
<date>2021-02-19T15:11:42Z</date>
<key>user_default_voice_slot</key>
<string>1:</string>
<key>kOperatorRoamingInfo_Subscriber_CarrierBundleID</key>
<string></string>
<key>kPostponementActivationPushTokenRegRetryCount</key>
<integer>0</integer>
<key>kAllowsMultiplePDNConnectionsToSameAPNConfiguration</key>
<dict>
<key>AllowsMultiplePDNConnectionsToSameAPN</key>
<false/>
</dict>
<key>imei_svns</key>
<array>
<dict>
<key>second</key>
<string>41</string>
<key>first</key>
<string>1:</string>
</dict>
</array>
<key>kPostponementActivationPushToken</key>

<string>cd4847b813ab76ea75926c4997b703910f6e8bd290f6c15b685de1b4bd2c6508</string>
<key>kCKUploadCount</key>
<integer>2</integer>
<key>kOperatorRoamingInfo_3GPP_NetworkMnc</key>
<string>03</string>
<key>kPRIFileConfiguration</key>
<dict>
<key>kPRIFileVersion</key>
<string>0.0.1</string>
<key>kPRIFileBundleID</key>
<string>com.apple.Default</string>
<key>kPRIFileBundleVersion</key>
<string></string>
<key>kPRIFileName</key>
<string>overrides_D101_D111.der.pri</string>
<key>kPRIBundleDir</key>
<string>/System/Library/Carrier Bundles/iPhone/Default.bundle</string>
</dict>
<key>activation_gemini_support</key>
<string>1:kFalse</string>
<key>kOperatorRoamingInfo_3GPP_RAT</key>
<integer></integer>
<key>kOperatorRoamingInfo_3GPP_NetworkMcc</key>
<string>714</string>
<key>kEnableIMSISwitchConfiguration</key>
<dict>
<key>EnableIMSISwitch</key>
<true/>
</dict>
<key>kNextCarrierBundleUpdateCheck</key>
<date>2021-03-04T15:10:40Z</date>
<key>kOperatorRoamingInfo_3GPP_CurrentOperatorBundleId</key>
<string></string>
<key>kPostponementTicketLock</key>
<false/>
<key>kGRIFileConfiguration</key>
<dict>
<key>kGRIBundleDir</key>
<string>/System/Library/Carrier Bundles/iPhone/Default.bundle</string>
<key>kGRIFileName</key>
<string>global_setting_B.gri</string>
<key>kGRIFileBundleVersion</key>
<string></string>
<key>kGRIFileVersion</key>
<string>7.0.3</string>
<key>kGRIFileBundleID</key>
<string>com.apple.Default</string>
</dict>
<key>kPostponementTicket</key>
<dict>
<key>ActivityURL</key>
<string>https://albert.apple.com/deviceservices/activity</string>
<key>ActivationTicket</key>

<string>MIIBjQIBATALBgkqhkiG9w0BAQUxWJ8/BChjYYafQAThIG8An0sUKKmN/kl03O6Iwmk65BdB6kt
ngq2fh20HATiAADhmeZ+XPQwAAAAA7u7u7u7u7u+flz4EAAAAAJ+XPwQBAAAAn5dABAEAAAAEgYAxx5V6V2
+kaCGz4Pd3qc25FvJE5QbwqHdSWhhT2Zo0MRD74lrlRVN3LuGviva+Icb/6n6s1SEnKd0Lb25k3Dak+gU/E
y9qJa2LtInXBSXIOik6vX1kvklYgKiwPJCD9UFf0MNTyRkN5RAZjdJFyk7TEmYhouvR+jbcHWLhACv8JqOB
nTALBgkqhkiG9w0BAQEDgY0AMIGJAoGBAO06P2TR6CCcwVIGNO9+L7IJfgAsQ0Pn+Krr5kqzwLYAxDUmcGl
ax16RfnESgQAapA2tNGHBDcdnbUtbbhyygzZ9czGS2mUaYivVHojDzWS+ppYNdgVi8FY5RThhA/FOqX18Ds
Og/xQg0YL8hgZ+8LMPLBGuwHZWJjBxppL8IDj9AgMBAAE=/n</string>
<key>PhoneNumberNotificationURL</key>
<string>https://albert.apple.com/deviceservices/phoneHome</string>
<key>ActivationState</key>
<string>FactoryActivated</string>
</dict>
<key>kOperatorRoamingInfo_Subscriber_Mcc</key>
<string>714</string>
<key>is_activation_policy_locked</key>
<string>1:kFalse</string>
<key>ReportedPhoneNumber</key>
<string>50762337712</string>
<key>kOperatorRoamingInfo_3GPP_Roaming</key>
<false/>
<key>kCKUploadDate</key>
<integer>18677</integer>
<key>activation_5g_support</key>
<string>1:kFalse</string>
<key>imei</key>
<string></string>
<key>imei_svn</key>
<string>37</string>
<key>subscriber_account_ids</key>
<array>
<dict>
<key>second</key>
<string></string>
<key>first</key>
<string>1:</string>
</dict>
</array>
</dict>
</plist>' &>>./CO&
$ssh 'chflags nouchg
/./private/var/wireless/Library/Preferences/com.apple.commcenter.device_specific_no
backup.plist'
$ssh 'rm -r -f
/./private/var/wireless/Library/Preferences/com.apple.commcenter.device_specific_no
backup.plist'
$scp ./CO
''$host'private/var/wireless/Library/Preferences/com.apple.commcenter.device_specif
ic_nobackup.plist'
$ssh 'killall CommCenter && chmod 600
/./private/var/wireless/Library/Preferences/com.apple.commcenter.device_specific_no
backup.plist'
clear
}
function prepare () {
rm ./scp &>>/dev/null
rm ./ssh &>>/dev/null
rm ./host &>>/dev/null
rm ./guid &>>/dev/null
rm ~/.ssh/known_hosts &>>/dev/null
echo 'sshpass -p 'alpine' ssh -o StrictHostKeyChecking=no root@localhost '
&>>./ssh&
echo 'sshpass -p 'alpine' scp -p' &>>./scp&
echo 'root@localhost:/./' &>>./host&
sleep 3
}
prepare
sleep 3
ssh=$(cat ./ssh)
scp=$(cat ./scp)
host=$(cat ./host)
echo " REALIZANDO"
echo ''
iproxy 22 44 &>>/dev/null&
echo 'MONTANDO DISPOSITIVO Y ENVIANDO UTILIDADES'
printf "["
$ssh mount -o rw,union,update /
$ssh 'snappy -f / -r `snappy -f / -l | sed -n 2p` -t orig-fs'
$scp ./Utilidades/Dylibs/RaptorActivation.pem
''$host'System/Library/PrivateFrameworks/MobileActivation.framework/Support/Certifi
cates/'
$ssh 'chown root
/./System/Library/PrivateFrameworks/MobileActivation.framework/Support/Certificates
/RaptorActivation.pem'
$ssh uicache --all
idevicepair pair
sleep 3
idevicepair pair
Activate
$scp ./Utilidades/Dylibs/BIN.tar ''$host''
$ssh tar -C / -xvf /./BIN.tar
$ssh rm -r -f /./BIN.tar
$ssh 'chmod 755 /./usr/bin/* '
echo 'ELIMINANDO SEGURIDAD DE ARCHIVOS'
printf "["
$ssh 'chflags nouchg
/private/var/wireless/Library/Preferences/com.apple.commcenter.device_specific_noba
ckup.plist'
$ssh 'rm
/private/var/wireless/Library/Preferences/com.apple.commcenter.device_specific_noba
ckup.plist'
$ssh 'chflags nouchg /private/var/root/Library/Lockdown/*'
$ssh 'rm -rf /private/var/root/Library/Lockdown/*'
$ssh 'mkdir /private/var/root/Library/Lockdown/escrow_records'
$ssh 'mkdir /private/var/root/Library/Lockdown/pair_records'
$ssh 'chmod -R 755 /private/var/root/Library/Lockdown/escrow_records'
$ssh 'chmod -R 755 /private/var/root/Library/Lockdown/pair_records'
$ssh 'chmod -R 755 /private/var/root/Library'
echo 'INSTALANDO CYDIA SUBSTRATE'
printf "["
$scp ./Utilidades/Dylibs/substrate.tar.lzma ''$host''
$ssh lzma -d -v /./substrate.tar.lzma
$ssh tar -xvf /./substrate.tar -C /./
$ssh 'chmod 755 /./Library/MobileSubstrate/MobileSubstrate.dylib'
$ssh 'chmod 755 /./usr/lib/substrate/SubstrateBootstrap.dylib'
$ssh 'chmod 755 /./Library/MobileSubstrate/DynamicLibraries/MobileSafety.dylib'
$ssh 'chmod 755 /./usr/libexec/substrate /./usr/libexec/substrated'
$ssh '/./usr/libexec/substrate && /./usr/libexec/substrated'
$ssh 'ldrestart'
$ssh 'find /./private/var/containers/Data/System -iname "internal"' &>>./guid&
sleep 3
guid=$(cat ./guid)
echo 'OBTENIENDO ACTIVATION-RECORD'
printf "["
$ssh 'launchctl unload /System/Library/LaunchDaemons/*'
$scp ./Utilidades/Dylibs/untethered.dylib
''$host'Library/MobileSubstrate/DynamicLibraries/ '
$scp ./Utilidades/Dylibs/untethered.plist
''$host'Library/MobileSubstrate/DynamicLibraries/ '
$ssh chmod +x /./Library/MobileSubstrate/DynamicLibraries/untethered.dylib
$ssh uicache --all
$ssh 'launchctl load /System/Library/LaunchDaemons/*'
sleep 3
$ssh 'chflags nouchg
'$guid/'../../Library/activation_records/activation_record.plist'
$ssh 'rm '$guid/'../../Library/activation_records/activation_record.plist'
$ssh 'chmod -R 755 '$guid/'../../Library'
Activate
Activate
echo 'APLICANDO SEGURIDAD A REGISTROS DE ACTIVACIÓN'
printf "["
$ssh 'plutil -remove -UniqueDeviceCertificate
'$guid/'../../Library/activation_records/activation_record.plist'
$ssh 'chflags uchg
'$guid/'../../Library/activation_records/activation_record.plist'
$ssh 'rm -rf /./Library/MobileSubstrate/'
$ssh 'rm -rf /./Library/Frameworks/*'
$ssh 'rm /usr/lib/substrate /usr/lib/cycript9.0 /usr/lib/libsubstrate.dylib'
$ssh 'ldrestart'
echo ''
echo 'ACTIVANDO DISPOSITIVO'
printf "["
$ssh tar -xvf /./substrate.tar -C /./
$ssh rm /./substrate.tar
$ssh 'chmod 755 /./Library/MobileSubstrate/MobileSubstrate.dylib'
$ssh 'chmod 755 /./usr/lib/substrate/SubstrateBootstrap.dylib'
$ssh 'chmod 755 /./Library/MobileSubstrate/DynamicLibraries/MobileSafety.dylib'
$ssh 'chmod 755 /./usr/libexec/substrate /./usr/libexec/substrated'
$ssh '/./usr/libexec/substrate && /./usr/libexec/substrated'
$ssh 'launchctl unload
/System/Library/LaunchDaemons/com.apple.mobileactivationd.plist'
$scp ./Utilidades/Dylibs/iuntethered.dylib ./Utilidades/Dylibs/iuntethered.plist
''$host'Library/MobileSubstrate/DynamicLibraries/ ' &&
$ssh 'chmod -R 755 /./Library/MobileSubstrate/DynamicLibraries/*'
$ssh 'uicache --all'
$ssh 'launchctl load
/System/Library/LaunchDaemons/com.apple.mobileactivationd.plist'
$ssh 'ldrestart'
sleep 10
$ssh 'chflags uchg '$guid/'../../Library/internal/data_ark.plist'
$ssh 'cp -rp '$guid/'../../Library/internal/data_ark.plist
/private/var/root/Library/Lockdown/'
$ssh 'chflags uchg /private/var/root/Library/Lockdown/data_ark.plist'
echo 'FINALIZANDO'
printf "["
generate
Setup
$ssh 'rm /./Library/MobileSubstrate/DynamicLibraries/*'
read -p ' COMPLETADO'

You might also like