Return to BSD News archive
Path: euryale.cc.adfa.oz.au!newshost.anu.edu.au!harbinger.cc.monash.edu.au!news.mira.net.au!news.mel.connect.com.au!munnari.OZ.AU!news.ecn.uoknor.edu!news.wildstar.net!news.sdsmt.edu!nntp.uac.net!news.tufts.edu!blanket.mitre.org!news.mathworks.com!news.kei.com!nntp.coast.net!oleane!francenet.fr!itesec!sidhe.frmug.fr.net!not-for-mail From: roberto@keltia.freenix.fr (Ollivier Robert) Newsgroups: comp.unix.bsd.freebsd.misc Subject: Re: Crack problem with MD5 passwd file? Date: 21 May 1996 13:25:16 GMT Organization: Herve Schauer Consultants Lines: 32 Message-ID: <4nsg7s$hbr@sidhe.hsc.fr> References: <4nqkjk$76t@tatooine.vader.org> NNTP-Posting-Host: sidhe.hsc.fr Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit [courtesy cc of this posting sent to cited author via email] In article <4nqkjk$76t@tatooine.vader.org>, Chris Dabrowski <chris@vader.org> wrote: > Is there any way of using Crack with the international version of FreeBSD? I'm afraid not. I'm not aware of any patches for Crack to run under MD5 crypt. > Is the problem due to the international version using MD5 encryption whilst There are several problems here: 1. the international crypt use MD5 and outputs up to 36 bytes where the DES outputs only a fixed amount of 13 bytes per password, The format is the following: - 3 bytes for the signature $1$ - up to 8 bytes for the salt - $ - the MD5 hash (128 bits or 16 bytes) encoded in base64 = 24 bytes Look into /usr/src/lib/libcrypt/crypt.c for details. 2. the /etc/master.password file has three additional fields that Crack doesn't know about. It is easy to generate a "password"-like file from master.password though. -- Ollivier ROBERT -=-=- FreeBSD 2.x FAQ maintainer -=-=- roberto@freebsd.org -=-=-=-=-=- Support The Free UNIX Systems ! FreeBSD Linux NetBSD -=-=-=-=-=-