projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
58296e1
)
Fixed DES kernel_loops only in case of BF
author
jsteube
<jens.steube@gmail.com>
Fri, 10 Jun 2016 17:03:29 +0000
(19:03 +0200)
committer
jsteube
<jens.steube@gmail.com>
Fri, 10 Jun 2016 17:03:29 +0000
(19:03 +0200)
src/hashcat.c
patch
|
blob
|
history
diff --git
a/src/hashcat.c
b/src/hashcat.c
index
dd9b03b
..
f74ce20
100644
(file)
--- 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;