01-14-2014, 08:04 PM
If word1 and word2 are the same for every hash (not word1=word2 but word1pass1word2 and word1pass2word2 will have the same word1 value for example), then your mask approach would be the way to go since the hash is calculated including this value. Once you have finished cracking you can purge the results from word1 and word2 to keep only the Hashassword. Depending on the algorithm, you might be able to get rid of word1 by using the ($salt.$pass) variant and put the word1 as salt with the hash. You can then delete the fixed number of characters of word2 from the result file.