hashcat Forum
multiple characters in generated password - Printable Version

+- hashcat Forum (https://hashcat.net/forum)
+-- Forum: Misc (https://hashcat.net/forum/forum-15.html)
+--- Forum: General Talk (https://hashcat.net/forum/forum-33.html)
+--- Thread: multiple characters in generated password (/thread-9723.html)



multiple characters in generated password - Katarnkyle - 12-26-2020

Is there any way how to tell maskprocessor or stdout function in hashcat to skip all the generated passwords with 3 or more same characters in a row ? Like  " aaaaaa ; aaaaab, Bhzzzf  ; !!!!!! ; aaaHcs "   Or how to sort them out from already generated wordlist ?


RE: multiple characters in generated password - hblender - 12-26-2020

Applying a rule could be an option. This site explains how to do it: https://hashcat.net/wiki/doku.php?id=rule_based_attack .

That being said, I may be wrong, but there is no reject rule that rejects passwords that has repeated characters.

The most similar reject rule that is aviable is %NX which "Reject plains which contain char X less than N times". From what I understood, it rejects passwords that contain e.g. if %4a it will reject aaar45gU9 ; 8YnjaaKw3 and so on.

Now, if you already have a wordlist you could just open it in a text editor, like Notepad++ (I just tried with this one) and find "aaa ; bbb ; ccc ; ddd ; eee ; AAA ; BBB ; CCC ; DDD ; EEE ; 444 ;..." and delete the repeated characters. It may sound tedious, but it's the only way I've found right now.


RE: multiple characters in generated password - hblender - 12-27-2020

GOT IT! Try using the maskprocessor. You will need to use the -q option: "Maximum number of multiple sequential characters"

here's the link: https://github.com/hashcat/maskprocessor