mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-23 07:08:19 +00:00
tests: fix return code check in attack_0 () function
This commit is contained in:
parent
da7a13afcb
commit
c3c4178791
@ -500,10 +500,10 @@ function attack_0()
|
|||||||
|
|
||||||
output=$(echo "${pass}" | ./${BIN} ${OPTS} -a 0 -m ${hash_type} "${hash}" 2>&1)
|
output=$(echo "${pass}" | ./${BIN} ${OPTS} -a 0 -m ${hash_type} "${hash}" 2>&1)
|
||||||
|
|
||||||
pass=${pass_old}
|
|
||||||
|
|
||||||
ret=${?}
|
ret=${?}
|
||||||
|
|
||||||
|
pass=${pass_old}
|
||||||
|
|
||||||
echo "${output}" >> "${OUTD}/logfull.txt"
|
echo "${output}" >> "${OUTD}/logfull.txt"
|
||||||
|
|
||||||
if [ "${ret}" -eq 0 ]; then
|
if [ "${ret}" -eq 0 ]; then
|
||||||
|
Loading…
Reference in New Issue
Block a user