Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sun, 5 Feb 2006 22:20:45 +0200
From: "Pietari Kivikangas" <JTR1998@...l.ru>
To: <john-users@...ts.openwall.com>
Subject: problem with session state restoring in JTR 1.7

Hello!

I have occasionally discovered that the number which should be used to 
initialize the rec_entry variable by the "inc.c" module is not actually used 
for session state restoring. There are 2 ways to verify the existence of 
this problem:

1) Insert the following line:
if(strcmp(key, "sumart") == 0) printf("***sumart occurred\n");
into the "inc.c" module before this line:
if (crk_process_key(key)) return 1;

Rebuild JTR and run it with standart all.chr and john.conf files:

c:\cygwin\home\user\john\run>john passwd.txt
Loaded 2 password hashes with 2 different salts (Traditional DES [24/32 4K])
***sumart occurred
guesses: 0  time: 0:00:00:10 (3)  c/s: 37742  trying: ap727 - sattle
Session aborted

c:\cygwin\home\user\john\run>john passwd.txt
Loaded 2 password hashes with 2 different salts (Traditional DES [24/32 4K])
***sumart occurred
guesses: 0  time: 0:00:00:07 (3)  c/s: 38385  trying: mjd - matho
Session aborted

2) If you don't want to modify and rebuild JTR, simply run the following 
commands:

$ ./john-386 --stdout --incremental | grep 'sumart'
sumart
words: 41394  time: 0:00:00:05  w/s: 7328  current: tinow
Session aborted

$ ./john-386 --stdout --incremental | grep 'sumart'
sumart
words: 12040  time: 0:00:00:04  w/s: 2883  current: clees
Session aborted

(i suppose session state file should be maintained in the case of using the 
"--stdout" option as well)


Any ideas how to solve the problem? Thank you.

Powered by blists - more mailing lists

Your e-mail address:

Powered by Openwall GNU/*/Linux - Powered by OpenVZ