|
Message-ID: <CABeUhwtc2MhjBdveNUOO0btaJPBqxQ7xjvPeccVQe6vGPevuyw@mail.gmail.com> Date: Sat, 24 Mar 2012 18:01:55 +0100 From: newangels newangels <contact.newangels@...il.com> To: john-users@...ts.openwall.com Subject: Re: Hahses + Pass output 2012/3/24, Solar Designer <solar@...nwall.com>: > On Sat, Mar 24, 2012 at 01:40:13AM +0100, magnum wrote: >> cut -d: -f2 File.txt | grep : | grep -f - john.pot >> >> Another possibility is that the $dynamic_0$ lines are correct but you >> don't want the tags in the output. If so, you could try this: >> >> cut -d: -f2 File.txt | grep : | sed 's/^\$dynamic_0\$//' | grep -f - >> john.pot >> >> That's off the top of my head and untested. > > These are slightly wrong - the "grep :" will provide empty output when > applied just to the second field. You meant something like: > > fgrep : File.txt | cut -d: -f2 | fgrep -f - john.pot > > BTW, it is fairly important to use fgrep (not grep). Some hash > encodings contain dots and dollar signs, which are special to grep. > > Anyway, all of these are just non-perfect hacks. To get the job done in > a more correct manner, a custom script would need to be written or we > need to add functionality to JtR itself (another --show output format). > > Alexander > Hello Alexander, Thanks a lot for your help, i try this command too, & got an blank output. The only one who works " ALF" it's you first one = cut -d: -f2 File.txt | fgrep -f - john.pot > Result.txt But like i say uper , i don't get all of the hashes, got some's + one's with $dynamic$ .... Anyway, if you can add this feature to the new build it will be nice. Best regards, Don
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.