Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <55D0E182.9070305@mailbox.org>
Date: Sun, 16 Aug 2015 21:16:18 +0200
From: Frank Dittrich <frank.dittrich@...lbox.org>
To: john-users@...ts.openwall.com
Subject: Re: Overstrike rule with UTF-8 characters?

On 08/16/2015 09:08 PM, Solar Designer wrote:
> As an alternative to magnum's response:
> 
> On Sun, Aug 16, 2015 at 07:50:21AM -0500, nyxgeek wrote:
>> 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"
> 
> BTW, you can shorten this to:
> 
>  <* >\r[00-9] A\p[z0-9]"\xc3\x94"
> 
> and actually the same approach works for overstriking as well.  You just
> need to delete the two "characters" you want to overstrike first:
> 
>  >[0-9A-F] D\0 D\0 A\0"\xc3\x94"

In case you want to overwrite an ascii character, e.g., an 'o', don't
delete two bytes, but just one:

 >[0-9A-F] D\0 A\0"\xc3\x94"

Ot, of you want to overwrite an 'o':
/o Dp Ap"\xc3\x94"

Frank

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.