hashcat Forum
Need piping? - 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: Need piping? (/thread-7933.html)



Need piping? - plaverty9 - 11-08-2018

We want to uppercase each word in the wordlist and append four digits to the end. So it seems our options are to create 10,000 $X rules with c or is the only other option to run them one at a time and pipe to the other? So we'd apply the uppercase rule and then pipe that candidate over to the four digit mask? Is that how this would have to work?

Thanks!


RE: Need piping? - royce - 11-08-2018

You can mix and match as needed - part rules, part external. A pure-rules approach will be fastest.


RE: Need piping? - plaverty9 - 11-08-2018

(11-08-2018, 12:07 AM)royce Wrote: You can mix and match as needed - part rules, part external. A pure-rules approach will be fastest.

Do I need to write 10,000 rules for the 0000 to 9999? I was looking through the rules wiki and I only saw $X, I didn't see a way to tell it to add 0 through 9999 to the end of my candidate.


RE: Need piping? - RizzyRong - 11-08-2018

This was my solution to this exact issue.

1. Made a rule to capitalize each of the word in a word list.
#cat c > rule

2. Used hashcat and the rule to generate the new list.
#hashcat -r rule {word list} --stdout > {Word List}

3. Used a hybrid attack
#hashcat -a 6 {Hashes to crack} {Word List} ?d?d?d?d

Not sure if it's the best idea, but it seems to have worked for me.