09-26-2017, 02:48 PM
There are several ways depending on what you are trying to accomplish:
1) Rules (see the wiki if you don't understand the line)
Depends on whether the hashcat part is a fixed length. If not, this won't work.
2) Assuming that hashcat is one dictionary and the @hotmail.com is another dictionary, you could use a combinator attack with a rule. The -j works on the first dictionary.
Note that on windows, the rule must be in "" or it won't work.
3) You could use the hashcat utility combinator to create a new dictionary, if the words are separate dictionaries as I assumed in suggestion #2. But the combo attack is better if there is only one rule needed. Now if you wanted to apply all possible 3 digit numbers after hashcat, then you would have to use this method.
I did that once by using the maskprocesser utility to generate a dictionary based off a mask (?d?d?d?d in my case). Then I used the combinator utility to generate a new dictionary with the maskprocessor dictionary and my original right half dictionary.
1) Rules (see the wiki if you don't understand the line)
Code:
Insert @ N | iNX | Inserts character X at position N | i4! | p@ssW0rd | p@ss!W0rd
Depends on whether the hashcat part is a fixed length. If not, this won't work.
2) Assuming that hashcat is one dictionary and the @hotmail.com is another dictionary, you could use a combinator attack with a rule. The -j works on the first dictionary.
Code:
hashcat64.exe -m hashtype -a 1 --remove -o outfile --status --session=test -j "$1 $2 $3" hashfile "hashcatdict.dict" "@gmail.com.dict"
Note that on windows, the rule must be in "" or it won't work.
3) You could use the hashcat utility combinator to create a new dictionary, if the words are separate dictionaries as I assumed in suggestion #2. But the combo attack is better if there is only one rule needed. Now if you wanted to apply all possible 3 digit numbers after hashcat, then you would have to use this method.
I did that once by using the maskprocesser utility to generate a dictionary based off a mask (?d?d?d?d in my case). Then I used the combinator utility to generate a new dictionary with the maskprocessor dictionary and my original right half dictionary.