Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 10 Jun 2012 23:56:29 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: External mode: keyboard

On Sun, Jun 10, 2012 at 09:04:02PM +0200, madfran@...-ezine.org wrote:
> 	k[0x11] = '&#1081;'; k[0x12] = '&#1094;'; k[0x13] = '&#1091;';  
> k[0x14] = '&#1082;';

This is weird/wrong.  I assume you actually had some 8-bit chars in
there, and they got replaced with the HTML entities in your e-mail
message only.

In addition to the almost comprehensive response by Frank (thanks!),
please take a look at this posting about an issue with 8-bit char
literals in external modes and especially in Keyboard:

http://www.openwall.com/lists/john-users/2012/06/10/6

Summary: you either need to avoid 8-bit char literals (use the numeric
ASCII codes instead, as Frank suggested) or you need to apply one of the
workarounds suggested in that message: " & 0xff" on the three
references to k[] (in john.conf) or edit the two instances of "value =
c_getchar(1)" to "value = (unsigned char)c_getchar(1)" in c_getint()
(in compiler.c).

Alexander

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.