Defining character length.
#21
just look it up here: https://hashcat.net/wiki/doku.php?id=rule_based_attack

every rule that shortens the password, especially the "Truncate" rules "[" and "]" are able to generate passwords with "too short" length.

Code:
] ] $s
] ] $a
] ] ] $o
] ] ] $y
]
] ]
] ] ]
] ] ] d
] ] D1 ]
'5 D3
'5 $1
+5 ] } } } } '4
} } } } '4
} } } } } '5
*04 +0 '4
*05 O03 d '3 p1
O14 d p2 '6
Z4 '8 O42
Z5 *75 '5 { O02
f *A5 '8 O14
p2 '7 p1 O58
# .... (etc etc)

i.e. every rule that removes more than it adds for instance

btw: you could also use stdin/pipe (hashcat --stdout -r rule dict.txt | hashcat -a 0 -m 2500 a.hccapx) or the -S (upper-case S) to get rid of every password candidate that doesn't fit the min. password length. The reason that this is not done when using other/normal commands (without pipe/-S) is for performance reasons, i.e. the kernel doesn't know the length before it is actually computed and (due to performance reasons) there is no further interaction between host and GPU/kernel when the GPU-based rule engine generates "too short" password candidates. Applying the rules is performed within the fast kernels too (except if you use -S) and therefore you can't easily reject them afterwards and pre-computing everything at the start could also be really slow depending on your dict/ruleset.
Reply


Messages In This Thread
Defining character length. - by Rdgeno - 09-17-2019, 09:53 PM
RE: Defining character length. - by philsmd - 09-17-2019, 10:03 PM
RE: Defining character length. - by Rdgeno - 09-18-2019, 04:26 AM
RE: Defining character length. - by Rdgeno - 09-18-2019, 05:29 AM
RE: Defining character length. - by Rdgeno - 09-18-2019, 04:43 AM
RE: Defining character length. - by Rdgeno - 09-18-2019, 05:27 AM
RE: Defining character length. - by Rdgeno - 09-18-2019, 05:35 AM
RE: Defining character length. - by philsmd - 09-18-2019, 08:28 AM
RE: Defining character length. - by Rdgeno - 09-18-2019, 08:04 PM
RE: Defining character length. - by Rdgeno - 09-18-2019, 08:11 PM
RE: Defining character length. - by Rdgeno - 09-18-2019, 08:17 PM
RE: Defining character length. - by undeath - 09-18-2019, 09:28 PM
RE: Defining character length. - by Rdgeno - 09-18-2019, 09:42 PM
RE: Defining character length. - by undeath - 09-18-2019, 11:27 PM
RE: Defining character length. - by Rdgeno - 09-18-2019, 11:41 PM
RE: Defining character length. - by philsmd - 09-19-2019, 09:12 AM
RE: Defining character length. - by Rdgeno - 09-20-2019, 03:03 AM
RE: Defining character length. - by Rdgeno - 09-21-2019, 02:34 PM
RE: Defining character length. - by sono - 09-19-2019, 11:56 AM
RE: Defining character length. - by philsmd - 09-19-2019, 12:32 PM
RE: Defining character length. - by philsmd - 09-22-2019, 09:40 AM
RE: Defining character length. - by Rdgeno - 09-22-2019, 10:54 PM