Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
#!/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 ..
@2Klasic
Copy link

2Klasic commented Dec 17, 2016

on the bottom of the script you should have it either automatically open where the blobs are saved something open ~/ or move them to a secure location mv ~/blobs ~/Desktop

@jbmanwell
Copy link

jbmanwell commented Dec 17, 2016

Due to some initial json issues, I had to toss --nocache on each of the calls to TSSCHECKER before this would work. Thanks

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment