3 if [ "$1" == "" ]; then
4 echo "runtest.sh testfile"
5 echo "testfile name should be of the form:"
6 echo "keystream.key-KEY.uid-UID.nR-NR"
12 UIDV
=`echo $1 | cut -d'-' -f3 | cut -d'.' -f1`
13 NR
=`echo $1 | cut -d'-' -f4`
14 KEYV
=`echo $1 | cut -d'-' -f2 | cut -d'.' -f1`
16 echo "********************"
17 echo "FILENAME = $filename"
20 echo "Expected KEY = $KEYV"
22 .
/ht2crack2search
$filename $UIDV $NR
23 echo "Expected KEY = $KEYV"
24 echo "********************"