diff --git a/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent.tc b/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent.tc new file mode 100644 index 000000000..2505e6a48 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.tc b/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.tc new file mode 100644 index 000000000..96a44ee34 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_aes-twofish.tc b/tools/tc_tests/hashcat_ripemd160_aes-twofish.tc new file mode 100644 index 000000000..b396a2daf Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_aes-twofish.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_aes-twofish_boot.tc b/tools/tc_tests/hashcat_ripemd160_aes-twofish_boot.tc new file mode 100644 index 000000000..ea3782e35 --- /dev/null +++ b/tools/tc_tests/hashcat_ripemd160_aes-twofish_boot.tc @@ -0,0 +1,3 @@ +޼J{*L~JoCWOvne Vnd j*{5mq/Iv9p]L*{o>O7 >{7nbY 4 +V"j7$DE~A+w?N(l^ev?0FcW ܲk`EY $%v"6md )7ߜrsD%h1Z^vKizBzV]h#f2{\!NXI&0s2p34WţSUhMv̑G8CW+GER % +Mg셵)5&[-Y|*O="g~huj3o#ÎAaVu9^@,`X_A{dbCALz{GDoQ*\ )CS/G]%CEƻ0َ'0t!t'Na{XqFH- \ No newline at end of file diff --git a/tools/tc_tests/hashcat_ripemd160_aes.tc b/tools/tc_tests/hashcat_ripemd160_aes.tc new file mode 100644 index 000000000..eff33a4b6 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_aes.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_aes_boot.tc b/tools/tc_tests/hashcat_ripemd160_aes_boot.tc new file mode 100644 index 000000000..f35fd388e Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_aes_boot.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_serpent-aes.tc b/tools/tc_tests/hashcat_ripemd160_serpent-aes.tc new file mode 100644 index 000000000..efa32eb5b Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_serpent-aes.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_serpent-aes_boot.tc b/tools/tc_tests/hashcat_ripemd160_serpent-aes_boot.tc new file mode 100644 index 000000000..0cc356de8 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_serpent-aes_boot.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes.tc b/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes.tc new file mode 100644 index 000000000..ac43c6db9 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes_boot.tc b/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes_boot.tc new file mode 100644 index 000000000..d70c46442 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_serpent-twofish-aes_boot.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_serpent.tc b/tools/tc_tests/hashcat_ripemd160_serpent.tc new file mode 100644 index 000000000..9f0db68b0 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_serpent.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_serpent_boot.tc b/tools/tc_tests/hashcat_ripemd160_serpent_boot.tc new file mode 100644 index 000000000..bfa8499e8 --- /dev/null +++ b/tools/tc_tests/hashcat_ripemd160_serpent_boot.tc @@ -0,0 +1,2 @@ +Ӽ}}(igaz #);o=i.upͽ ϗuZa,ՒΌGFTE{٧q47g PX-4s{Y?bD˕HΣX su ъyZjle8sX$3ʘ]RU+f4WH7s5-.DhO8C٭݈?ϕP(Щ$W?7PhF +-Is^ =T(Yj#ٸEo5CVEm>%-E(9Lk4pLI0g\eS˵RT4ȒOA@Raw+EnrBJx7bo` @W9]ChY`mgj/-Ĭ;s~MPbA#/^zQs#M,ダ*-3S=4j*LO)~f/y=*V(8eïn` &jJ- nLdSc>j \ No newline at end of file diff --git a/tools/tc_tests/hashcat_ripemd160_twofish-serpent.tc b/tools/tc_tests/hashcat_ripemd160_twofish-serpent.tc new file mode 100644 index 000000000..fa4e6d759 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_twofish-serpent.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_twofish-serpent_boot.tc b/tools/tc_tests/hashcat_ripemd160_twofish-serpent_boot.tc new file mode 100644 index 000000000..0f9bec75e Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_twofish-serpent_boot.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_twofish.tc b/tools/tc_tests/hashcat_ripemd160_twofish.tc new file mode 100644 index 000000000..e5ce91045 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_twofish.tc differ diff --git a/tools/tc_tests/hashcat_ripemd160_twofish_boot.tc b/tools/tc_tests/hashcat_ripemd160_twofish_boot.tc new file mode 100644 index 000000000..0124ecde2 Binary files /dev/null and b/tools/tc_tests/hashcat_ripemd160_twofish_boot.tc differ diff --git a/tools/tc_tests/hashcat_sha512_aes-twofish-serpent.tc b/tools/tc_tests/hashcat_sha512_aes-twofish-serpent.tc new file mode 100644 index 000000000..eb3508924 Binary files /dev/null and b/tools/tc_tests/hashcat_sha512_aes-twofish-serpent.tc differ diff --git a/tools/tc_tests/hashcat_sha512_aes-twofish.tc b/tools/tc_tests/hashcat_sha512_aes-twofish.tc new file mode 100644 index 000000000..f1267ce03 Binary files /dev/null and b/tools/tc_tests/hashcat_sha512_aes-twofish.tc differ diff --git a/tools/tc_tests/hashcat_sha512_aes.tc b/tools/tc_tests/hashcat_sha512_aes.tc new file mode 100644 index 000000000..b80e06b7c Binary files /dev/null and b/tools/tc_tests/hashcat_sha512_aes.tc differ diff --git a/tools/tc_tests/hashcat_sha512_serpent-aes.tc b/tools/tc_tests/hashcat_sha512_serpent-aes.tc new file mode 100644 index 000000000..27cd45c57 Binary files /dev/null and b/tools/tc_tests/hashcat_sha512_serpent-aes.tc differ diff --git a/tools/tc_tests/hashcat_sha512_serpent-twofish-aes.tc b/tools/tc_tests/hashcat_sha512_serpent-twofish-aes.tc new file mode 100644 index 000000000..89bf81d9f Binary files /dev/null and b/tools/tc_tests/hashcat_sha512_serpent-twofish-aes.tc differ diff --git a/tools/tc_tests/hashcat_sha512_serpent.tc b/tools/tc_tests/hashcat_sha512_serpent.tc new file mode 100644 index 000000000..643150bad --- /dev/null +++ b/tools/tc_tests/hashcat_sha512_serpent.tc @@ -0,0 +1,3 @@ +^ +3tafM m9 <˽mzTD:%NMxF>q|1 N{ץH݃3Q2 D˒ +uGj]opm.Gin<28B cѣ8bg8IJ(P[FsE{'7 1fYb3]q\(EJVgaΎT}IAaaJ;Tٛ*7'/uFο:O1#]sBbtU'bժ-:62,kq๢bZuԽ@[8ϕa9]RhnTr[xf]1>rCȥh|e?M*9Y9=Pqv"i:@2ț֑Q=+X峓X . B[ _/-]]N5in31MLO*'D_f!C8 \ No newline at end of file diff --git a/tools/tc_tests/hashcat_sha512_twofish-serpent.tc b/tools/tc_tests/hashcat_sha512_twofish-serpent.tc new file mode 100644 index 000000000..f96594075 Binary files /dev/null and b/tools/tc_tests/hashcat_sha512_twofish-serpent.tc differ diff --git a/tools/tc_tests/hashcat_sha512_twofish.tc b/tools/tc_tests/hashcat_sha512_twofish.tc new file mode 100644 index 000000000..25da114f1 Binary files /dev/null and b/tools/tc_tests/hashcat_sha512_twofish.tc differ diff --git a/tools/tc_tests/hashcat_whirlpool_aes-twofish-serpent.tc b/tools/tc_tests/hashcat_whirlpool_aes-twofish-serpent.tc new file mode 100644 index 000000000..5bdd7d0fd Binary files /dev/null and b/tools/tc_tests/hashcat_whirlpool_aes-twofish-serpent.tc differ diff --git a/tools/tc_tests/hashcat_whirlpool_aes-twofish.tc b/tools/tc_tests/hashcat_whirlpool_aes-twofish.tc new file mode 100644 index 000000000..b6f473a7d Binary files /dev/null and b/tools/tc_tests/hashcat_whirlpool_aes-twofish.tc differ diff --git a/tools/tc_tests/hashcat_whirlpool_aes.tc b/tools/tc_tests/hashcat_whirlpool_aes.tc new file mode 100644 index 000000000..f5d5754c1 Binary files /dev/null and b/tools/tc_tests/hashcat_whirlpool_aes.tc differ diff --git a/tools/tc_tests/hashcat_whirlpool_serpent-aes.tc b/tools/tc_tests/hashcat_whirlpool_serpent-aes.tc new file mode 100644 index 000000000..beb564123 Binary files /dev/null and b/tools/tc_tests/hashcat_whirlpool_serpent-aes.tc differ diff --git a/tools/tc_tests/hashcat_whirlpool_serpent-twofish-aes.tc b/tools/tc_tests/hashcat_whirlpool_serpent-twofish-aes.tc new file mode 100644 index 000000000..56f4fe082 --- /dev/null +++ b/tools/tc_tests/hashcat_whirlpool_serpent-twofish-aes.tc @@ -0,0 +1,4 @@ +]bUCqL[.U"@$5kiqr +jC>ui0 +k@ c|!Yw2̓$V&%J35 +ߚ ݉![;_ mdة+;o,}gT|o}~rŀ}8B۫Q @Gޕ*1p HX^/acLOؚ 99.LZ",n{1LvZ"Zr㾇cJcQ&)'gVR{ϟ6~WX|GHo #ŧ"GSA>;?Xnd6vbXI%P|YMXw{뜕:q٥PMYP}vxӮCӄJ{hMq1yi`5ͧ#IrD.i<l*o@}?m>J%J飩u0Hl*_[]#g\MȞf\s)y Z \ No newline at end of file diff --git a/tools/tc_tests/hashcat_whirlpool_serpent.tc b/tools/tc_tests/hashcat_whirlpool_serpent.tc new file mode 100644 index 000000000..6b43b7db4 Binary files /dev/null and b/tools/tc_tests/hashcat_whirlpool_serpent.tc differ diff --git a/tools/tc_tests/hashcat_whirlpool_twofish-serpent.tc b/tools/tc_tests/hashcat_whirlpool_twofish-serpent.tc new file mode 100644 index 000000000..ff7007570 Binary files /dev/null and b/tools/tc_tests/hashcat_whirlpool_twofish-serpent.tc differ diff --git a/tools/tc_tests/hashcat_whirlpool_twofish.tc b/tools/tc_tests/hashcat_whirlpool_twofish.tc new file mode 100644 index 000000000..1e123b5cc Binary files /dev/null and b/tools/tc_tests/hashcat_whirlpool_twofish.tc differ diff --git a/tools/test.sh b/tools/test.sh index 027fc1dd4..123959aff 100755 --- a/tools/test.sh +++ b/tools/test.sh @@ -5,9 +5,11 @@ ## License.....: MIT ## -# missing hash types: 5200,6211,6221,6231,6241,6251,6261,6271,6281 +TDIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )" -HASH_TYPES="0 10 11 12 20 21 22 23 30 40 50 60 100 101 110 111 112 120 121 122 125 130 131 132 133 140 141 150 160 200 300 400 500 900 1000 1100 1400 1410 1420 1430 1440 1441 1450 1460 1500 1600 1700 1710 1711 1720 1722 1730 1731 1740 1750 1760 1800 2100 2400 2410 2500 2600 2611 2612 2711 2811 3000 3100 3200 3710 3711 3800 4300 4400 4500 4700 4800 4900 5000 5100 5300 5400 5500 5600 5700 5800 6000 6100 6300 6400 6500 6600 6700 6800 6900 7100 7200 7300 7400 7500 7600 7700 7800 7900 8000 8100 8200 8300 8400 8500 8600 8700 8900 9100 9200 9300 9400 9500 9600 9700 9800 9900 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900 11000 11100 11200 11300 11400 11500 11600 11900 12000 12100 12200 12300 12400 12600 12800 12900 13000 13100 13200 13300 13400 13500 13600 13800 14000 14100 14400 99999" +# missing hash types: 5200,6251,6261,6271,6281 + +HASH_TYPES="0 10 11 12 20 21 22 23 30 40 50 60 100 101 110 111 112 120 121 122 125 130 131 132 133 140 141 150 160 200 300 400 500 900 1000 1100 1400 1410 1420 1430 1440 1441 1450 1460 1500 1600 1700 1710 1711 1720 1722 1730 1731 1740 1750 1760 1800 2100 2400 2410 2500 2600 2611 2612 2711 2811 3000 3100 3200 3710 3711 3800 4300 4400 4500 4700 4800 4900 5000 5100 5300 5400 5500 5600 5700 5800 6000 6100 6211 6212 6213 6221 6222 6223 6231 6232 6233 6241 6242 6243 6300 6400 6500 6600 6700 6800 6900 7100 7200 7300 7400 7500 7600 7700 7800 7900 8000 8100 8200 8300 8400 8500 8600 8700 8900 9100 9200 9300 9400 9500 9600 9700 9800 9900 10000 10100 10200 10300 10400 10500 10600 10700 10800 10900 11000 11100 11200 11300 11400 11500 11600 11900 12000 12100 12200 12300 12400 12600 12800 12900 13000 13100 13200 13300 13400 13500 13600 13800 14000 14100 14400 99999" #ATTACK_MODES="0 1 3 6 7" ATTACK_MODES="0 1 3 7" @@ -20,7 +22,7 @@ HASHFILE_ONLY="2500" NEVER_CRACK="11600" -SLOW_ALGOS="400 500 501 1600 1800 2100 2500 3200 5200 5800 6211 6221 6231 6241 6251 6261 6271 6281 6300 6400 6500 6600 6700 6800 7100 7200 7400 7900 8200 8800 8900 9000 9100 9200 9300 9400 9500 9600 10000 10300 10500 10700 10900 11300 11600 11900 12000 12100 12200 12300 12400 12500 12800 12900 13000 13200 13400 13600" +SLOW_ALGOS="400 500 501 1600 1800 2100 2500 3200 5200 5800 6211 6212 6213 6221 6222 6223 6231 6232 6233 6241 6242 6243 6251 6261 6271 6281 6300 6400 6500 6600 6700 6800 7100 7200 7400 7900 8200 8800 8900 9000 9100 9200 9300 9400 9500 9600 10000 10300 10500 10700 10900 11300 11600 11900 12000 12100 12200 12300 12400 12500 12800 12900 13000 13200 13400 13600" OPTS="--quiet --force --potfile-disable --runtime 200 --gpu-temp-disable --weak-hash-threshold=0" @@ -156,7 +158,7 @@ function init() rm -rf ${OUTD}/${hash_type}.sh ${OUTD}/${hash_type}_passwords.txt ${OUTD}/${hash_type}_hashes.txt # create list of password and hashes of same type - grep " ${hash_type} '" ${OUTD}/all.sh > ${OUTD}/${hash_type}.sh + grep " ${hash_type} '" ${OUTD}/all.sh > ${OUTD}/${hash_type}.sh 2>/dev/null # create separate list of password and hashes cat ${OUTD}/${hash_type}.sh | awk '{print $3}' > ${OUTD}/${hash_type}_passwords.txt @@ -1608,6 +1610,189 @@ function attack_7() fi } +function truecrypt_test() +{ + hashType=$1 + tcMode=$2 + CMD="unset" + + case $hashType in + + 6211) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6211 ${TDIR}/tc_tests/hashcat_ripemd160_aes.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6211 ${TDIR}/tc_tests/hashcat_ripemd160_serpent.tc hashca?l" + ;; + 2) + CMD="./${BIN} ${OPTS} -a 3 -m 6211 ${TDIR}/tc_tests/hashcat_ripemd160_twofish.tc hashca?l" + ;; + esac + ;; + + 6212) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6212 ${TDIR}/tc_tests/hashcat_ripemd160_aes-twofish.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6212 ${TDIR}/tc_tests/hashcat_ripemd160_serpent-aes.tc hashca?l" + ;; + 2) + CMD="./${BIN} ${OPTS} -a 3 -m 6212 ${TDIR}/tc_tests/hashcat_ripemd160_twofish-serpent.tc hashca?l" + ;; + esac + ;; + + 6213) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6213 ${TDIR}/tc_tests/hashcat_ripemd160_aes-twofish-serpent.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6213 ${TDIR}/tc_tests/hashcat_ripemd160_serpent-twofish-aes.tc hashca?l" + ;; + esac + ;; + + 6221) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6221 ${TDIR}/tc_tests/hashcat_sha512_aes.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6221 ${TDIR}/tc_tests/hashcat_sha512_serpent.tc hashca?l" + ;; + 2) + CMD="./${BIN} ${OPTS} -a 3 -m 6221 ${TDIR}/tc_tests/hashcat_sha512_twofish.tc hashca?l" + ;; + esac + ;; + + 6222) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6222 ${TDIR}/tc_tests/hashcat_sha512_aes-twofish.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6222 ${TDIR}/tc_tests/hashcat_sha512_serpent-aes.tc hashca?l" + ;; + 2) + CMD="./${BIN} ${OPTS} -a 3 -m 6222 ${TDIR}/tc_tests/hashcat_sha512_twofish-serpent.tc hashca?l" + ;; + esac + ;; + + 6223) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6223 ${TDIR}/tc_tests/hashcat_sha512_aes-twofish-serpent.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6223 ${TDIR}/tc_tests/hashcat_sha512_serpent-twofish-aes.tc hashca?l" + ;; + esac + ;; + + 6231) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6231 ${TDIR}/tc_tests/hashcat_whirlpool_aes.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6231 ${TDIR}/tc_tests/hashcat_whirlpool_serpent.tc hashca?l" + ;; + 2) + CMD="./${BIN} ${OPTS} -a 3 -m 6231 ${TDIR}/tc_tests/hashcat_whirlpool_twofish.tc hashca?l" + ;; + esac + ;; + + 6232) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6232 ${TDIR}/tc_tests/hashcat_whirlpool_aes-twofish.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6232 ${TDIR}/tc_tests/hashcat_whirlpool_serpent-aes.tc hashca?l" + ;; + 2) + CMD="./${BIN} ${OPTS} -a 3 -m 6232 ${TDIR}/tc_tests/hashcat_whirlpool_twofish-serpent.tc hashca?l" + ;; + esac + ;; + + 6233) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6233 ${TDIR}/tc_tests/hashcat_whirlpool_aes-twofish-serpent.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6233 ${TDIR}/tc_tests/hashcat_whirlpool_serpent-twofish-aes.tc hashca?l" + ;; + esac + ;; + + 6241) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6241 ${TDIR}/tc_tests/hashcat_ripemd160_aes_boot.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6241 ${TDIR}/tc_tests/hashcat_ripemd160_serpent_boot.tc hashca?l" + ;; + 2) + CMD="./${BIN} ${OPTS} -a 3 -m 6241 ${TDIR}/tc_tests/hashcat_ripemd160_twofish_boot.tc hashca?l" + ;; + esac + ;; + + 6242) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6242 ${TDIR}/tc_tests/hashcat_ripemd160_aes-twofish_boot.tc hashca?l" + ;; + 1) + CMD="./${BIN} ${OPTS} -a 3 -m 6242 ${TDIR}/tc_tests/hashcat_ripemd160_serpent-aes_boot.tc hashca?l" + ;; + esac + ;; + + 6243) + case $tcMode in + 0) + CMD="./${BIN} ${OPTS} -a 3 -m 6243 ${TDIR}/tc_tests/hashcat_ripemd160_aes-twofish-serpent_boot.tc hashca?l" + ;; + esac + ;; + esac + + if [ ${#CMD} -gt 5 ]; then + echo "> Testing hash type $hashType with attack mode 3, markov ${MARKOV}, single hash, Device-Type ${TYPE}, vector-width ${VECTOR}, tcMode ${tcMode}" &>> ${OUTD}/logfull.txt + + output=$(${CMD} 2>&1) + + ret=${?} + + echo "${output}" >> ${OUTD}/logfull.txt + + cnt=1 + e_nf=0 + msg="OK" + + if [ ${ret} -ne 0 ]; then + e_nf=1 + msg="Error" + fi + + echo "[ ${OUTD} ] [ Type ${hash_type}, Attack 3, Mode single, Device-Type ${TYPE}, Vector-Width ${VECTOR}, tcMode ${tcMode} ] > $msg : ${e_nf}/${cnt} not found" + + status ${ret} + fi +} + function usage() { cat << EOF @@ -1856,7 +2041,7 @@ if [ "${PACKAGE}" -eq 0 -o -z "${PACKAGE_FOLDER}" ]; then # generate random test entry if [ ${HT} -eq 65535 ]; then perl tools/test.pl single > ${OUTD}/all.sh - else + elif [[ ${HT} -lt 6211 ]] || [[ ${HT} -gt 6243 ]]; then perl tools/test.pl single ${HT} > ${OUTD}/all.sh fi @@ -1924,8 +2109,15 @@ if [ "${PACKAGE}" -eq 0 -o -z "${PACKAGE_FOLDER}" ]; then if [[ ${IS_SLOW} -eq 1 ]]; then - # run attack mode 0 (stdin) - if [[ ${ATTACK} -eq 65535 ]] || [[ ${ATTACK} -eq 0 ]]; then attack_0; fi + if [[ ${HT} -ge 6211 ]] && [[ ${HT} -le 6243 ]]; then + # run truecrypt tests + truecrypt_test ${HT} 0 + truecrypt_test ${HT} 1 + truecrypt_test ${HT} 2 + else + # run attack mode 0 (stdin) + if [[ ${ATTACK} -eq 65535 ]] || [[ ${ATTACK} -eq 0 ]]; then attack_0; fi + fi else