mirror of
https://github.com/hashcat/hashcat.git
synced 2024-12-24 07:28:10 +00:00
Fixed DES kernel_loops only in case of BF
This commit is contained in:
parent
58296e1ecf
commit
1c695b1185
@ -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;
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user