01-04-2019, 11:03 AM
you can use something like this:
to generate a dict containing the words within the first file (text1.txt) combined with the digits and save it on disk (of course text1.txt shouldn't be too huge. if text2.txt is much smaller, you could use that file instead for the temporary file together with -a 7)
...and afterwards crack the hashes with a normal -a 1 combinator attack:
(you can/should add -O if you are sure that the final password lengths are all < 31. of course you also need to adjust -m x depending on your hash type that you want to attack)
Code:
hashcat --stdout -o temp_dict.txt -a 6 text1.txt ?d?d?d?d
...and afterwards crack the hashes with a normal -a 1 combinator attack:
Code:
hashcat -m 0 -w 3 -a 1 hashes.txt temp_dict.txt text2.txt
(you can/should add -O if you are sure that the final password lengths are all < 31. of course you also need to adjust -m x depending on your hash type that you want to attack)