hashcat Forum
Using two rule files at the same time - 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: Using two rule files at the same time (/thread-9488.html)



Using two rule files at the same time - XakEp - 09-06-2020

I was hoping someone could explain to me exactly what using -r twice in the same command with two different rule files does. Does it apply them at the same time or sequentially/separately to each guess?

example -

hashcat -m1000 -a0 -w4 -O -d 1,2,3,4 --hwmon-disable d:\pwdump.txt d:\wordlists\big\test.txt -r rules\dive.rule -r rules\hob064.rule


RE: Using two rule files at the same time - royce - 09-06-2020

It's the product of both rulesets - rule 1 from list 1 AND rule 1 from list 2, etc etc.

This is one reason why ':' (do nothing) is often included in rulesets, so that each rule from each wordlist is also independently applied.

There's a GitHub issue open requesting a way to apply them in series instead. (Today, you can do this by appending the files into another file, or running multiple commands).

It's handy to be able to choose either strategy.


RE: Using two rule files at the same time - XakEp - 09-07-2020

(09-06-2020, 11:41 PM)royce Wrote: It's the product of both rulesets - rule 1 from list 1 AND rule 1 from list 2, etc etc.

This is one reason why ':' (do nothing) is often included in rulesets, so that each rule from each wordlist is also independently applied.

There's a GitHub issue open requesting a way to apply them in series instead. (Today, you can do this by appending the files into another file, or running multiple commands).

It's handy to be able to choose either strategy.

Thank you! Something else to add to my methodology.