01-17-2021, 06:50 PM
Hm... I don't think what you're trying to do is possible... I mean, I could be totally off on this, as I've never really used reject rules before...
But if I understand you correctly, you want a rule that says "reject whats coming from maskprocessor, if it contains more than one '4' or >1 'X' or >1 '8' etc."
Having a quick look at the avail. reject rules, I think only the opposite of what you want is possible (namely the "%"-rule to reject plains which contain char X less than N times).
Only thing I can think of ATM is, why not use a mask-file with 6masks and 2custom-charsets like so:
?u?l?d,[everything in ?u?l?d except 4X8dRu],4X8dRu?1?2?2?2?2?2
?u?l?d,[everything in ?u?l?d except 4X8dRu],4X8dRu?2?1?2?2?2?2
etc.
I know, this excludes some possible combinations.
But it should still cover most of the keyspace you're trying to check, so it might be a good place to start...
Nonetheless, I hope someone more experienced answers on this issue, to see if your idea with reject rules actually could be achieved...
But if I understand you correctly, you want a rule that says "reject whats coming from maskprocessor, if it contains more than one '4' or >1 'X' or >1 '8' etc."
Having a quick look at the avail. reject rules, I think only the opposite of what you want is possible (namely the "%"-rule to reject plains which contain char X less than N times).
Only thing I can think of ATM is, why not use a mask-file with 6masks and 2custom-charsets like so:
?u?l?d,[everything in ?u?l?d except 4X8dRu],4X8dRu?1?2?2?2?2?2
?u?l?d,[everything in ?u?l?d except 4X8dRu],4X8dRu?2?1?2?2?2?2
etc.
I know, this excludes some possible combinations.
But it should still cover most of the keyspace you're trying to check, so it might be a good place to start...
Nonetheless, I hope someone more experienced answers on this issue, to see if your idea with reject rules actually could be achieved...