[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Sun, 10 Jun 2012 21:04:02 +0200
From: madfran@...-ezine.org
To: john-users@...ts.openwall.com
Subject: External mode: keyboard
Hi,
I am using jtr 1.7.9 jumbo.
I am trying to modify the external mode keyboard to meet a cyrilic keyboard.
The modification of the john.conf was done with Microsoft Word and save
with encoding "Cyrilic Windows"
See attached part of the modification.
When I try the following command the system fault.
# ./john --format=nt2 --external=Keyboard2 --session=key2 list.txt
Segmentation fault (core dumped)
Solution?
Regards,
************************************************************************
/*
* This defines the keyboard layout, by default for a QWERTY keyboard.
* Please note that the sizes of m[] and mc[] arrays assume 7-bit
* characters and will need to be doubled for 8-bit characters such as
* umlauts.
*/
i = 0; while (i < 0x40) k[i++] = 0;
k[0] = '`';
i = 0; while (++i <= 9) k[i] = '0' + i;
k[10] = '0'; k[11] = '-'; k[12] = '=';
k[0x11] = 'й'; k[0x12] = 'ц'; k[0x13] = 'у';
k[0x14] = 'к';
k[0x15] = 'е'; k[0x16] = 'н'; k[0x17] = 'г';
k[0x18] = 'ш';
k[0x19] = 'щ'; k[0x1a] = 'з'; k[0x1b] = 'х';
k[0x1c] = 'ъ';
Powered by blists - more mailing lists
Powered by Openwall GNU/*/Linux -
Powered by OpenVZ