-
-
Save lucianf/99f2e3a4fbd14debf869eb23e95b35d5 to your computer and use it in GitHub Desktop.
Fetch iOS shsh2 blobs (see https://www.reddit.com/r/jailbreak/comments/5iom16/tutorial_mac_how_to_save_your_shsh2_blobs_step_by/)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
MODEL="${1:-iPhoneX,Y}" #replace with your default model | |
ECID="${2:-ABCDEFGHIJKLM}" #replace with your default ecid | |
TSSCHECKER=~/Desktop/TSS/tsschecker_macos | |
NEW_DIR="$MODEL-$ECID" | |
mkdir $NEW_DIR | |
cd $NEW_DIR | |
APNONCES=(603be133ff0bdfa0f83f21e74191cf6770ea43bb 352dfad1713834f4f94c5ff3c3e5e99477347b95 42c88f5a7b75bc944c288a7215391dc9c73b6e9f 0dc448240696866b0cc1b2ac3eca4ce22af11cb3 9804d99e85bbafd4bb1135a1044773b4df9f1ba3) | |
for nonce in ${APNONCES[@]}; | |
do | |
nonce_dir="NONCE_$nonce" | |
mkdir $nonce_dir | |
cd $nonce_dir | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.2 -s --apnonce $nonce | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.1.1 --buildid 14B150 -s --apnonce $nonce | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.1.1 --buildid 14B100 -s --apnonce $nonce | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.1 -s --apnonce $nonce | |
cd .. | |
done | |
mkdir NONCE_random | |
cd NONCE_random | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.2 -s | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.1.1 --buildid 14B150 -s | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.1.1 --buildid 14B100 -s | |
$TSSCHECKER -d $MODEL -e $ECID -i 10.1 -s | |
cd .. |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Model
andECID
as command line parameters (fetch_shsh2.sh model ecid
) with default values in the scripttsschecker
tool using name as extracted from tihmstar's GitHub release