mirror of
https://github.com/hashcat/hashcat
synced 2024-12-23 14:13:43 +01:00
minimized the test.sh false negatives with kernels 14000 14100 14900 15400, a1
This commit is contained in:
parent
15bf8b7302
commit
cdc87017fc
@ -655,15 +655,20 @@ function attack_1()
|
||||
cnt=0
|
||||
|
||||
min=1
|
||||
max=8
|
||||
|
||||
if [ "${hash_type}" -eq 14000 ]; then
|
||||
min=0
|
||||
max=5
|
||||
elif [ "${hash_type}" -eq 14100 ]; then
|
||||
min=0
|
||||
max=5
|
||||
elif [ "${hash_type}" -eq 14900 ]; then
|
||||
min=0
|
||||
max=5
|
||||
elif [ "${hash_type}" -eq 15400 ]; then
|
||||
min=0
|
||||
max=5
|
||||
fi
|
||||
|
||||
echo "> Testing hash type $hash_type with attack mode 1, markov ${MARKOV}, single hash, Device-Type ${TYPE}, vector-width ${VECTOR}." >> "${OUTD}/logfull.txt" 2>> "${OUTD}/logfull.txt"
|
||||
@ -688,7 +693,9 @@ function attack_1()
|
||||
|
||||
line_nr=1
|
||||
|
||||
if [ "${i}" -gt 1 ]; then
|
||||
if [ "$min" -eq 0 ]; then
|
||||
line_nr=$i
|
||||
elif [ "${i}" -gt 1 ]; then
|
||||
line_nr=$((i - 1))
|
||||
fi
|
||||
|
||||
@ -778,6 +785,8 @@ function attack_1()
|
||||
|
||||
fi
|
||||
|
||||
if [ $i -eq ${max} ]; then break; fi
|
||||
|
||||
i=$((i + 1))
|
||||
|
||||
done 9< "${OUTD}/${hash_type}_hashes.txt"
|
||||
|
Loading…
Reference in New Issue
Block a user