Hello, it seems missing a file with johntheripper-1.6.37-r1: # unshadow /etc/passwd /etc/shadow > john_passwd # john john_passwd Loaded 3 password hashes with 3 different salts (FreeBSD MD5 [32/32]) fopen: /usr/share/john/all.chr: No such file or directory # qpkg -l johntheripper app-crypt/johntheripper-1.6.37-r1 * CONTENTS: /etc /etc/john.ini /etc/john-mail.msg /etc/john-mail.conf /usr /usr/share /usr/share/john /usr/share/john/password.lst /usr/share/john/john-dailyscript /usr/share/man /usr/share/man/man1 /usr/share/man/man1/john-cronjob.1.gz /usr/share/man/man1/john.1.gz /usr/share/man/man1/mailer.1.gz /usr/share/man/man1/unafs.1.gz /usr/share/man/man1/unique.1.gz /usr/share/man/man1/unshadow.1.gz /usr/share/doc /usr/share/doc/johntheripper-1.6.37-r1 /usr/share/doc/johntheripper-1.6.37-r1/CONFIG.mailer.gz /usr/share/doc/johntheripper-1.6.37-r1/copyright.gz /usr/share/doc/johntheripper-1.6.37-r1/CHANGES.gz /usr/share/doc/johntheripper-1.6.37-r1/COPYING.gz /usr/share/doc/johntheripper-1.6.37-r1/LICENSING.gz /usr/share/doc/johntheripper-1.6.37-r1/NTLM-FAQ.gz /usr/share/doc/johntheripper-1.6.37-r1/README.gz /usr/sbin /usr/sbin/john /usr/sbin/mailer /usr/sbin/john-cronjob /usr/sbin/unafs -> john 1091480554 /usr/sbin/unique -> john 1091480554 /usr/sbin/unshadow -> john 1091480554 /usr/sbin/undrop -> john 1091480554 I tried with stable version; it works fine.
same problem here, emerge info: Portage 2.0.51_rc1 (default-x86-2004.0, gcc-3.4.1, glibc-2.3.4.20040808-r0, 2.6.9-rc1-nitro4 i686) ================================================================= System uname: 2.6.9-rc1-nitro4 i686 AMD Athlon(tm) XP 2000+ Gentoo Base System version 1.5.3 Autoconf: sys-devel/autoconf-2.59-r4 Automake: sys-devel/automake-1.8.5-r1 Binutils: sys-devel/binutils-2.15.90.0.1.1-r3 Headers: sys-kernel/linux-headers-2.4.22 Libtools: sys-devel/libtool-1.5.2-r5 ACCEPT_KEYWORDS="x86 ~x86" AUTOCLEAN="yes" CFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64-falign-jumps=16 -pipe" CHOST="i686-pc-linux-gnu" COMPILER="" CONFIG_PROTECT="/etc /usr/X11R6/lib/X11/xkb /usr/kde/2/share/config /usr/kde/3.3/env /usr/kde/3.3/share/config /usr/kde/3.3/shutdown /usr/kde/3/share/config /usr/lib/mozilla/defaults/pref /usr/share/config /usr/share/texmf/dvipdfm/config/ /usr/share/texmf/dvips/config/ /usr/share/texmf/tex/generic/config/ /usr/share/texmf/tex/platex/config/ /usr/share/texmf/xdvi/ /var/qmail/control" CONFIG_PROTECT_MASK="/etc/gconf /etc/terminfo /etc/env.d" CXXFLAGS="-march=athlon-xp -Os -fomit-frame-pointer -falign-functions=64 -falign-jumps=16 -pipe" DISTDIR="/usr/portage/distfiles" FEATURES="autoaddcvs ccache sandbox" GENTOO_MIRRORS="http://mirror.gentoo.no/" MAKEOPTS="-j1" PKGDIR="/usr/portage/packages" PORTAGE_TMPDIR="/var/tmp" PORTDIR="/usr/portage" PORTDIR_OVERLAY="/usr/local/portage" SYNC="rsync://rsync.gentoo.org/gentoo-portage" USE="3dnow X accessibility acpi acpi4linux aim alsa apm arts avi berkdb bitmap-fonts bonobo cdparanoia cdr clamav crypt cups directfb divx4linux dvd dvdr encode esd evo exiscan-acl faad fam fbcon flac foomaticdb freetype ftp gb gdbm gif gnome gnomedb gphoto2 gpm gstreamer gtk gtk2 gtkhtml icq imagemagick imap imlib jabber java jpeg kde libg++ libwww live mad maildir mbox mikmod mldonkeypango mmap mmx monkey motif mozilla moznoirc mozsvg mpeg mpeg4 msn nas ncurses network nls nvidia oggvorbisopengl operanom2 oscar oss pam pdflib perl pic png ppds python qt quicktime readline sasl sdl shared sharedmem slang slp speex spell sse ssl svg svga tcltk tcpd tetex tiff transcode truetype unicode x86 xml2 xmmsxprint xv xvid yahoo zlib"
sorry for neglecting this bug. http://dev.gentoo.org/~dragonheart/john.tar.bz2 is a tarball is my little workspace with unpatched and patched version of john. Feel free to submit patches.
The issue with this bug seems to be with a charset file. The website for johntheripper states the development version i.e. johntheripper-1.6.37 does not come with any documentation and charset files. Doing a comparison of the source code directory labelled run for johntheripper-1.6 and johntherippper.1.6.37 shows the following: john-1.6 ls run all.chr digits.chr lanman.chr password.lst alpha.chr john.ini mailer john-1.6.37 ls run john.conf mailer password.lst This is simply conjecture but maybe including the charset files found in the run source code directory for johntheripper-1.6 in the run source code directory for johntheripper-1.6.37 may fix the issue.
From /usr/share/doc/johntheripper-1.6.37-r1/README.gz: This is a development version of John the Ripper, not an official release. There's currently no up-to-date documentation. You should be familiar with John 1.6 to use this. There're no charset files included with development versions of John. You're supposed to take them from John 1.6 distribution. -- Solar Designer <solar@openwall.com> <EOF>
I'm putting together a new version now. Just having some execution troubles.
fixed in johntheripper-1.6.37_p1. Thanks for your patience.