hashcat Forum

Full Version: Can You Limit Rule Candidate Lengths?
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
I'm not sure if this is possible, and I'm still pretty new to hashcat, but is it possible to limit the length of candidates after rules have been applied to a wordlist and reject the rest?

For example, say my wordlist has words varying from 2-20 characters in length. Is there a way that hashcat can only apply the rules in my .rule file to them if the candidate will be between 8-12 characters?

I saw this post, but I'm not exactly sure how the answer works:
https://security.stackexchange.com/quest...een-applie

What would I really put after
Code:
hashcat /home/user/Desktop/Wordlists/wordlist.txt -r myrule.rule --stdout | len 8 12 |
if I were to use it?

Thanks for the help!