Last active
December 20, 2016 10:57
-
-
Save wolfposd/a0df9f1e6f2acecbb73469e453edb588 to your computer and use it in GitHub Desktop.
terminal script to download SHSH2 Blobs for your iDevice
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 | |
# Download tsschecker_macos from http://api.tihmstar.net/builds/tsschecker/tsschecker-macos-latest.zip | |
# Extract it to the same directory as run_tss | |
# change the config below | |
# | |
# In terminal: | |
# cd <DIR-OF-FILES> | |
# chmod +x run_tss | |
# ./run_tss | |
#=========================================================== | |
# Config | |
#=========================================================== | |
# Use "UDID Calculator" from TheBigBoss Repository to find the info: | |
DEVICEMODEL="iPhone7,2" | |
DEVICENAME="myiphone" | |
DEVICEECID="1234567891234567" | |
#=========================================================== | |
# Script | |
#=========================================================== | |
SAVEDIRECTORY="./SavedSHSH2/$DEVICENAME/Apnonce-" | |
# downloading without a nonce | |
mkdir -p $SAVEDIRECTORY"NoApnonce" | |
./tsschecker_macos -d $DEVICEMODEL -e $DEVICEECID -i 10.1.1 --buildid 14B150 -s --save-path $SAVEDIRECTORY"NoApnonce" --nocache | |
./tsschecker_macos -d $DEVICEMODEL -e $DEVICEECID -i 10.1.1 --buildid 14B100 -s --save-path $SAVEDIRECTORY"NoApnonce" --nocache | |
./tsschecker_macos -d $DEVICEMODEL -e $DEVICEECID -i 10.2 -s --save-path $SAVEDIRECTORY"NoApnonce" --nocache | |
# downloading with nonces | |
APNONCES=( "603be133ff0bdfa0f83f21e74191cf6770ea43bb" "352dfad1713834f4f94c5ff3c3e5e99477347b95" "42c88f5a7b75bc944c288a7215391dc9c73b6e9f" "0dc448240696866b0cc1b2ac3eca4ce22af11cb3" "9804d99e85bbafd4bb1135a1044773b4df9f1ba3") | |
length=${#APNONCES[@]} | |
for (( i=0; i<${length}; i++ )); | |
do | |
nonce=${APNONCES[$i]} | |
dir="$SAVEDIRECTORY$nonce" | |
mkdir -p $dir | |
./tsschecker_macos -d $DEVICEMODEL -e $DEVICEECID -i 10.1.1 --buildid 14B150 -s --apnonce $nonce --save-path $dir --nocache | |
./tsschecker_macos -d $DEVICEMODEL -e $DEVICEECID -i 10.1.1 --buildid 14B100 -s --apnonce $nonce --save-path $dir --nocache | |
./tsschecker_macos -d $DEVICEMODEL -e $DEVICEECID -i 10.2 -s --apnonce $nonce --save-path $dir --nocache | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment