|
Message-ID: <loom.20120323T011100-172@post.gmane.org> Date: Fri, 23 Mar 2012 00:15:32 +0000 (UTC) From: donovan <contact.newangels@...il.com> To: john-users@...ts.openwall.com Subject: Re: Hahses + Pass output magnum <john.magnum@...> writes: > > On 03/22/2012 09:02 PM, magnum wrote: > > This is not exactly what you ask for, but it does print only hashes from > > a particular infile, and in hash:pass format: > > > > john -show File.txt | cut -d: -f1-2 > > > > Sorry, I was wrong :) that just prints user:pass > > 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. > > magnum > > Hi Magnum, Thanks for reply, i try the "egrep...." command & unfortunately don't work for me...sorry forgot to mention i am on MAC LION ( but seem equal than linux about terminal...etc..) Got this error message " -bash: /usr/bin/egrep: Argument list too long" anyway, thanks... Regards, Donovan
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.