hashcat Forum
Two Dictionaries + 3 digits - 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: Two Dictionaries + 3 digits (/thread-7737.html)



Two Dictionaries + 3 digits - TheseTwoBigBalls - 08-13-2018

So what might my options be?
I can merge the dictionaries, but i'll need
Dict 1:
aaa
bbb
ccc

Dict 2:
aaa
bbb
ccc

To wind up running like:
aaaaaa
aaabbb
aaaccc
bbbaaa
bbbbbb
bbbccc
... and so forth.

I understand it will scale quite quickly in size doing so if I just make the dictionary, both files together are less than 1 meg in size so I'm not sure how quickly that'll scale up.

However, I also need to append 3 digits, 000-999 increments to the end of Dict 2 OR to the wordlist with both dictionaries merged.

Is there a way to use two dictionaries with a 3 digit mask appended to it and I'm drastically overthinking it or can I merge the two with appending every word in dict 2 to dict 1. Thanks


RE: Two Dictionaries + 3 digits - royce - 08-13-2018

Use 'combinator' tool from hashcat-utils and pipe it into hashcat, and then apply the ?d?d?d at the end using hashcat itself.

https://hashcat.net/wiki/doku.php?id=hashcat_utils#combinator

A simple method to do this would be to apply the append_d.rule three times:

Code:
$ combinator dict1.txt dict2.txt | hashcat --stdout -r rules/hybrid/append_d.rule -r rules/hybrid/append_d.rule -r rules/hybrid/append_d.rule | head -10
aaaddd000
aaaddd100
aaaddd200
aaaddd300
aaaddd400
aaaddd500
aaaddd600
aaaddd700
aaaddd800
aaaddd900

Or you could generate a rules file that appends three digits:

https://hashcat.net/wiki/doku.php?id=rules_with_maskprocessor

Or you could write the combinator-generated file to disk, and then use hashcat's hybrid mode (-a 6).

https://hashcat.net/wiki/doku.php?id=hybrid_attack