Please note, this is a STATIC archive of website hashcat.net from 08 Oct 2020, cach3.com does not collect or store any user information, there is no "phishing" involved.

hashcat Forum

Full Version: How to remove duplicates with different spacing?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
An earlier version of oclHashcat had an option:
--cleanup-rules, remove rules that couldn't be used or have duplicates

Then more recently, it was removed to a separate, standalone hashcat-util, cleanup-rules.

But it doesn't remove duplicates.

Using the text-based rli can do it where the text is identical, but how about cases where the rules is the same, but written differently? E.g., in the venerable d3ad0ne.rule, there is both $2$0$0$0 and $2 $0 $0 $0.

Since spaces and also be arguments to command, one can't just use eliminate all the spaces.

Are there existing hashcat programs to do this, or should I make a request on the TRAC to add this to cleanup-rules?
Atom closed the TRAC ticket, so I'll continue the discussion here.

It would seem that command line utilities with regular expressions could do the job, but they don't have the awareness of where spaces are just formatting niceties vs. actual arguments.