I'd like to use john to crack passwords that has 3 chars and 1 symbol in it, e.g 123$

If I use mask mode I will have to specify it 3 times,


Is there anything better than this?


The logic of masks does not allow for this. If you want only a certain number of a certain character set in more than one position, then you have to permute the options yourself, either by what you have done or by creating a wordlist.

  • 1
    And using multiple masks is faster (more compatible with running efficiently on GPU) than creating a wordlist, all other things being equal - and the faster the hash, the greater the difference. If the hash is slow enough, it doesn't make much difference. So preferring the multiple-mask method is good general advice. – Royce Williams Mar 9 at 14:56

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.