X-Git-Url: https://www.flypig.org.uk/git/?a=blobdiff_plain;f=src%2Fhashcat.c;h=f74ce207cd771667d710a3bbae724164564e029d;hb=1c695b1185ea8099c6804100836f2f7f10c8156c;hp=dd9b03bea2e55fa06a56b5dca1cca32e9d83710b;hpb=58296e1ecf0e98ae939d64c7326ad92504460840;p=hashcat.git diff --git a/src/hashcat.c b/src/hashcat.c index dd9b03b..f74ce20 100644 --- a/src/hashcat.c +++ b/src/hashcat.c @@ -14680,7 +14680,7 @@ int main (int argc, char **argv) * some algorithms need a fixed kernel-loops count */ - if (hash_mode == 1500) + if (hash_mode == 1500 && attack_mode == ATTACK_MODE_BF) { const u32 kernel_loops_fixed = 1024; @@ -14688,7 +14688,7 @@ int main (int argc, char **argv) device_param->kernel_loops_max = kernel_loops_fixed; } - if (hash_mode == 3000) + if (hash_mode == 3000 && attack_mode == ATTACK_MODE_BF) { const u32 kernel_loops_fixed = 1024;