projects
/
hashcat.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
(from parent 1:
1ccb643
)
Merge pull request #321 from fgaudreault/master
author
Jens Steube
<jens.steube@gmail.com>
Thu, 28 Apr 2016 19:25:28 +0000
(21:25 +0200)
committer
Jens Steube
<jens.steube@gmail.com>
Thu, 28 Apr 2016 19:25:28 +0000
(21:25 +0200)
Adding final code to test.pl
tools/test.pl
patch
|
blob
|
history
diff --git
a/tools/test.pl
b/tools/test.pl
index
9a56ac4
..
1db1d9e
100755
(executable)
--- a/
tools/test.pl
+++ b/
tools/test.pl
@@
-2675,6
+2675,15
@@
sub verify
return unless (substr ($line, 0, $len) eq $hash_out);
}
+ elsif ($mode == 13500)
+ {
+ $hash_out = gen_hash ($mode, $word, $salt);
+
+ $len = length $hash_out;
+ print $hash_out;
+
+ return unless (substr ($line, 0, $len) eq $hash_out);
+ }
else
{
$hash_out = gen_hash ($mode, $word, $salt, $iter);