|
Message-ID: <20120322210742.GA2768@openwall.com> Date: Fri, 23 Mar 2012 01:07:42 +0400 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Subject: Re: Hahses + Pass output On Thu, Mar 22, 2012 at 09:10:31PM +0100, magnum wrote: > You can do it with grep and a horrible one-liner though: > > egrep "`cut -d: -f2 File.txt`" john.pot > > This assumes File.txt has its hashes in the second field (as opposed to > pwdump files, for example), otherwise you'll have to adjust -f2 to > something else. > > But for very large input files, this egrep will fail (too many > arguments) and you'd have to use a little perl script or something instead. cut -d: -f2 File.txt | fgrep -f - john.pot Alexander
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.