How to sort a mask file based on probability
#2
probability depends on the language you are attacking, you could use a password analyzing tool like PACK and feed a known password plainlist like rockyou or something similar, i did this once and IF there was an uppercaseletter it was most likely on the first position and/or something like this passwordstyle

TheKing
TheKing123
TheKing123!

as i mentioned in your other thread you could also try another approach like just using one mask with 8 time lower chars and then use a customized ruleset to upper chars or/and for inserting digits, BUT you you have to generate this ruleset on your own, i think there is no out of the box ruleset that will fit your needs, see examples shipped with hashcat

example PACK output for a small password list i found somewhere on the internet, as you can see if there is an upper char, it is on first position (last 5 lines)

Code:
[*]Advanced Masks: [+]              ?l?l?l?l?l?l: 06% (6486) [+]          ?l?l?l?l?l?l?l?l: 05% (5592) [+]            ?l?l?l?l?l?l?l: 04% (4769) [+]          ?l?l?l?l?l?l?d?d: 03% (3886) [+]        ?l?l?l?l?l?l?l?l?l: 03% (3407) [+]              ?d?d?d?d?d?d: 03% (3194) [+]          ?d?d?d?d?d?d?d?d: 02% (2734) [+]          ?l?l?l?l?d?d?d?d: 02% (2397) [+]                ?l?l?l?l?l: 02% (2397) [+]            ?l?l?l?l?l?d?d: 02% (1970) [+]        ?l?l?l?l?l?d?d?d?d: 02% (1876) [+]      ?l?l?l?l?l?l?l?l?l?l: 02% (1748) [+]          ?l?l?l?l?l?d?d?d: 02% (1724) [+]        ?l?l?l?l?l?l?l?d?d: 01% (1660) [+]              ?l?l?l?l?d?d: 01% (1455) [+]        ?l?l?l?l?l?l?d?d?d: 01% (1333) [+]      ?l?l?l?l?l?l?d?d?d?d: 01% (1294) [+]              ?u?l?l?l?l?l: 01% (1229) [+]          ?u?l?l?l?l?l?d?d: 01% (1149) [+]          ?l?l?l?l?l?l?l?d: 01% (1082) [+]          ?u?l?l?l?l?l?l?l: 01% (1068) [+]            ?u?l?l?l?l?l?l: 01% (995)
Reply


Messages In This Thread
RE: How to sort a mask file based on probability - by Snoopy - 01-19-2022, 02:26 PM