hashcat Forum
issue Combinator+hashcat-legacy - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat (https://hashcat.net/forum/forum-45.html)
+--- Thread: issue Combinator+hashcat-legacy (/thread-7801.html)



issue Combinator+hashcat-legacy - Nay - 09-10-2018

Hi all,

I recently needed to perform an attack while rejecting some candidates lengths.
As the rejection rule is not supported in hashcat, I used hashcat-legacy but unfortunately it seems not to work with combinator. Am I doing something wrong ?

Code:
./combinator dict1.txt dict2.txt | ./hashcat-cli64.app -m 0 hashes -a 0 --outfile results.txt -r reject.rule

The program is expecting a dictionnary, as if the piping didn't work correctly.

If such combo is not supported, any idea how to reject some plains by other means ?

Thanks !

Edit : I found a way with "len" from hashcat-utils but it makes the speed to drop down to a ridiculously slow H/s.
./combinator dict1 dict2 | ./len.app MIN MAX | hashcat -m 0 hashes -a 0 --outfile results.txt


RE: issue Combinator+hashcat-legacy - Xanadrel - 09-10-2018

hashcat-legacy doesn't support piping, you can use a fifo though.


RE: issue Combinator+hashcat-legacy - Banaanhangwagen - 09-10-2018

As we can read here https://hashcat.net/wiki/doku.php?id=rule_based_attack#rules_used_to_reject_plains ,the rejection rule is supported by hashcat.

Code:
$ cat w1
a
ab
abc

$ cat w2
1
12
123

Code:
$ combinator w1 w2 | hashcat --stdout
a1
a12
a123
ab1
ab12
ab123
abc1
abc12
abc123

$ combinator w1 w2 | hashcat --stdout -j '>5'
ab123
abc12
abc123



RE: issue Combinator+hashcat-legacy - Nay - 09-10-2018

Thanks both of you for your reply.
I didn't expect the use of -j to work without the attack mode -a 1 specified. That's great to know.