1
0
mirror of https://github.com/hashcat/hashcat.git synced 2024-12-24 23:48:39 +00:00

Merge pull request #2277 from philsmd/patch-10

tests: prevent -m 20510 multi error message for -m all
This commit is contained in:
Jens Steube 2020-01-13 14:38:22 +01:00 committed by GitHub
commit adbba513f6
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -3112,11 +3112,11 @@ if [ "${PACKAGE}" -eq 0 ] || [ -z "${PACKAGE_FOLDER}" ]; then
if [ "${hash_type}" -eq 20510 ]; then # special case for PKZIP Master Key if [ "${hash_type}" -eq 20510 ]; then # special case for PKZIP Master Key
if [ "${MODE}" -eq 1 ]; then # if "multi" was forced we need to skip it if [ "${MODE}" -eq 1 ]; then # if "multi" was forced we need to skip it
if [ "${HT_MIN}" -lt "${HT_MAX}" ]; then if [ "${HT_MIN}" -eq 20510 ]; then
echo "WARNING: -m 20510 = PKZIP Master Key can only be run with a single hash" if [ "${HT_MAX}" -eq 20510 ]; then
else
echo "ERROR: -m 20510 = PKZIP Master Key can only be run with a single hash" echo "ERROR: -m 20510 = PKZIP Master Key can only be run with a single hash"
fi fi
fi
continue continue
fi fi