hashcat Forum

Full Version: rule creation with special characters (utf8 issue?)
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
Trying to get a custom rule working for cracking some longer passwords that we've noticed a pattern in:

Namely: word digit digit digit special word-repeated

so came up with the series of rules that look similar to: 


Code:
$1$2$3$£d]]]]

Problem is I'm over in the UK. We use £ and sometimes the euro symbol too. So when trying to use this rule you get:

Code:
Skipping invalid or unsupported rule in file test.rule on line 1: $1$2$3$£d]]]]

How do you utilise utf-8 characters as part of your rule construction?
Hashcat added support for hexadecimal notation in rules too (see https://github.com/hashcat/hashcat/commi...b65f8bf4eb)

for instance if the utf 8 character £ (\xc2\xa3) has to be added, it would be just be a rule adding 2 bytes like this:

Code:
$\xc2 $\xa3
(11-29-2019, 03:30 PM)philsmd Wrote: [ -> ]Hashcat added support for hexadecimal notation in rules too (see https://github.com/hashcat/hashcat/commi...b65f8bf4eb)

for instance if the utf 8 character £ (\xc2\xa3) has to be added, it would be just be a rule adding 2 bytes like this:

Code:
$\xc2 $\xa3

Ah once again you've come to the rescue. Thank you again! I spent ages trying to find something for rule specific creation but just couldn't figure it out because of all the historical hashcat info about masks. Thanks!