Openwall Project   /home  Owl  JtR  Pro  crypt  pam_passwdqc  tcb  phpass  scanlogd  popa3d  msulogin  /  Linux  BIND  /  advisories  presentations  /  services  donations  /  wordlists  passwords  /  community  lists  wiki  CVSweb  mirrors  signatures
bringing security into open environments
 
Order Openwall GNU/*/Linux 2.0 on a CD with delivery worldwide
[<prev] [next>] [<thread-prev] [thread-next>] [month] [year] [list]
Date: Fri, 16 Jun 2006 21:31:34 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: JtR -show output

On Fri, Jun 16, 2006 at 03:52:02PM +0200, Guillaume Arcas wrote:
> Is there a way not to log the two last lines of -show output while redirecting
> it to a file (john -show password > john.log) ?

Yes - use grep, like this:

	john --show passwd | fgrep : > cracked

(or the same with plain "grep" if you don't have "fgrep").  All lines
with cracked passwords contain colons, whereas the two lines that you
don't want to include never contain colons.

> I'm especially talking about this one :
> 
> 5525 password hashes cracked, 47883 left

-- 
Alexander Peslyak <solar at openwall.com>
GPG key ID: B35D3598  fp: 6429 0D7E F130 C13E C929  6447 73C3 A290 B35D 3598
http://www.openwall.com - bringing security into open computing environments

Was I helpful?  Please give your feedback here: http://rate.affero.net/solar

Hosted by DataForce ISP - Powered by Openwall GNU/*/Linux