hashcat Forum
Using mask processor with a specific twist - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Support (https://hashcat.net/forum/forum-3.html)
+--- Forum: hashcat-utils, maskprocessor, statsprocessor, md5stress, wikistrip (https://hashcat.net/forum/forum-28.html)
+--- Thread: Using mask processor with a specific twist (/thread-9748.html)



Using mask processor with a specific twist - vicious1 - 01-07-2021

I have been struggling to write a mask processor command that accomplished the following:
I have a 12 character password, of which I know it contains the letters a b c d (for example)
How can I write a mp command that will generate 12 character passwords but all of them MUST contain those 4 characters at random places?


RE: Using mask processor with a specific twist - hblender - 01-07-2021

It is impossible to do it with the mask processor. Give a try to the wonderful reject rules https://hashcat.net/wiki/doku.php?id=rule_based_attack . Start with the rule named "Reject not contain" which rejects every password that does not contain those letters that you mentioned.