hashcat Forum
How to use all rules in one session? - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: How to use all rules in one session? (/thread-9586.html)



How to use all rules in one session? - BooHboot - 10-23-2020

JTR has a function "rules=all" is this possible in hashcat? Ive tried to use *.rule but it uses the next rule as a base dictionary..
I find it exhausting to use every rule at a time.


RE: How to use all rules in one session? - philsmd - 10-23-2020

no, but you could just combine the files yourself externally (even automatically with a script or however you want).

just combine the files with cat/type and then unique the lines

Code:
cat *.rule | sort -u > all_rules.rule

or (keep the same order):

Code:
cat *.rule | ./duplicut -o all_rules.rule

The problem here is that just because a rule line is unique, doesn't mean that 2 "different" rules can't do exactly the same thing (there are some github projects that try to detect that, but it's often not a huge/real problem, it just removes a very small amount of lines usually)


RE: How to use all rules in one session? - BooHboot - 10-23-2020

(10-23-2020, 03:55 PM)philsmd Wrote: no, but you could just combine the files yourself externally (even automatically with a script or however you want).

just combine the files with cat/type and then unique the lines

Code:
cat *.rule | sort -u > all_rules.rule

or (keep the same order):

Code:
cat *.rule | ./duplicut -o all_rules.rule

The problem here is that just because a rule line is unique, doesn't mean that 2 "different" rules can't do exactly the same thing (there are some github projects that try to detect that, but it's often not a huge/real problem, it just removes a very small amount of lines usually)

ok thanks i use it for fast format so dupes arent a big deal.