Openwall Project   /home  Owl  JtR  Pro  crypt  pam_passwdqc  tcb  phpass  scanlogd  popa3d  msulogin  /  Linux  BIND  /  advisories  presentations  /  services  donations  /  wordlists  passwords  /  NEWS  community  lists  Wiki  CVSweb  mirrors  signatures
bringing security into open environments
 
Password Recovery Resources on the Net
[<prev] [next>] [thread-next>] [month] [year] [list]
Date: Fri, 7 Oct 2005 17:31:54 +0200
From: Lionel Cons <lionel.cons@...n.ch>
To: "Heiko Schulz" <heiko@...hematik.uni-stuttgart.de>
CC: john-users@...ts.openwall.com
Subject: Re: problem with unafs

Heiko Schulz writes:
 > I tried to use unafs to convert my kaserver.DB0 file, but it failed.
 > It works very well on an old kaserver.DB0 from Transarc AFS 3.4; so
 > I believe unafs is unable to handle newer openafs databases. Who can
 > help me? I tried the debian version 1.6.37 and john-1.6.39 from source.

Heiko,

I've made some tests on my side and it seems that some kaserver.DB0
files created by OpenAFS contain incorrect header information.

Try the following patch, it works for me.

Cheers,

Lionel

--- unafs.c~    2002-04-10 16:13:25.000000000 +0200
+++ unafs.c     2005-10-07 17:29:49.000000000 +0200
@@ -41,6 +41,7 @@
        size =
                ((long)buffer[6] << 8) +
                (long)buffer[7];
+       if (size == 0) size = 64;
        if (fseek(file, size, SEEK_SET)) pexit("fseek");
 
        if (fread(buffer, 8, 1, file) != 1) return 1;

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