Created
December 16, 2016 23:50
-
-
Save DavidGoldman/34e7145c3fec81b6cb222d57a1b5894d 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 hidden or 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="YOUR MODEL" | |
ECID="YOUR ECID" | |
TSSCHECKER=~/Desktop/TSS/tsschecker | |
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
Due to some initial json issues, I had to toss
--nocache
on each of the calls to TSSCHECKER before this would work. Thanks