|
Message-Id: <C3337936-9E2A-4C80-8B62-9723E491F15D@rslabs.co>
Date: Sun, 16 Aug 2015 07:50:21 -0500
From: nyxgeek <nyxgeek@...abs.co>
To: john-users@...ts.openwall.com
Subject: Overstrike rule with UTF-8 characters?
Hello,
Is it possible to overstrike a position with a unicode character using John’s rules?
For example, the following works fine:
o[0-9]\xF8
This will overstrike positions 0-9 with the letter ø (latin small letter o with stroke). Overstrike also works fine with a range of any normal ASCII:
o[0-9][a-zA-Z0-9!@...&*()]
However, if I try to put in a unicode hex value, I get an error. I’m unable to find a way that it will take a unicode character that is longer than 2 hex digits.
Unicode is possible in other areas with John rules. For example, I can do the following, and it works to INSERT:
<* >\r[00123456789] A\p[z0-9]"\xc3\x94”
This will insert a Ô (latin capital letter O with circumflex) at each character position.
I believe the issue is getting John to see the two hex values as a single UTF-8 character. Quotes around the pair, such as in the example above, won't work with the overstrike. Whether it is “\xF8” or “\xc3\x94” — both return an “unknown command” error.
Any advice would be appreciated.
Thanks!
Paul
Download attachment "signature.asc" of type "application/pgp-signature" (802 bytes)
Powered by blists - more mailing lists
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.