issue Combinator+hashcat-legacy
#1
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
#2
hashcat-legacy doesn't support piping, you can use a fifo though.
#3
As we can read here https://hashcat.net/wiki/doku.php?id=rul...ect_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
#4
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.