hashcat Forum
Iterate numbers 0000 to 9999 in Combo Attack - 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: Iterate numbers 0000 to 9999 in Combo Attack (/thread-6243.html)



Iterate numbers 0000 to 9999 in Combo Attack - rustyshackleford - 01-27-2017

I need to create passwords of the structure for a Cisco DPC3941B Xfinity router:

apple0000basket

Where apple and basket are 5 and 6 letter words respectively and the numbers in between could be any combination. I have a dictionary of 5 letter words and a dictionary of 6 letter words. What I need is to be able to create all combinations of the dictionaries and numbers so e.g:

apple0000basket
apple0000rapper
etc. to the last word in 6 letter dict then:
apple0001basket
apple0001rapper
apple0001whatev


Basically it cycles through every word in the 6 letter dictionary before incrementing the number. The numbers are incremented from 0000 to 9999. Then apple is finally changed to the next word after all that.

So far I have:

./hashcat64.bin -m 2500 -a 1 ~/Desktop/WPAcapture.hccap ~/Desktop/5letterwords.txt ~/Desktop/6letterwords.txt

How would I insert numbers to the right of the first dictionary word that increment so that I try all possible combos? Thank you for your time!


RE: Iterate numbers 0000 to 9999 in Combo Attack - atom - 01-27-2017

What you need is to create a rulset that is doing insert rules 0000-9999 and then do a tripple combinator attack using the first hashcat in -a 1 --stdout mode piping into a second hashcat where you use. This works because the first wordlist has a fixed length 5, so you'll start your insert at position 5