Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20060616173134.GA6546@openwall.com>
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

Powered by blists - more mailing lists

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.