Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <036439cfc8db5b212b6954f8c7592593@smtp.hushmail.com>
Date: Sat, 24 Mar 2012 01:40:13 +0100
From: magnum <john.magnum@...hmail.com>
To: john-users@...ts.openwall.com
Subject: Re: Re: Hahses + Pass output

On 03/23/2012 01:21 AM, donovan wrote:
> Solar Designer <solar@...> writes:
>>
>> cut -d: -f2 File.txt | fgrep -f - john.pot
> 
> I try to run the command, & on start was happy cause i see all my HASHES:PASS
> 
> but the process continue & give me other lines who are not on the "File.txt
> 
> File.txt is the Hashes only for sure
> 
> In the end i got some's :
> 
> $dynamic_0$c95f5a1dc41de52b2afe452dcacae658:HPPRINTER
> $dynamic_0$ee0c37991f9f97dfd4a5dfba88eddfbd:34shaq99
> $dynamic_0$5466055a6c3a9e308d4b2964177957ff:Batker123
> $dynamic_0$8de67771963179b2be233f318504a2c5:battman93
> $dynamic_0$aa88ff6157ee402a3a5e8d315cb6fcc7:TRIPLE777
> 
> BUT in the start we have & it's exactly what needed :
> 
> 089d716f0b0ea3de695e5c7125ce2e1f:ereiamjh
> 098f6bcd4621d373cade4e832627b4f6:test
> 0b4e7a0e5fe84ad35fb5f95b9ceeac79:aaaaaa
> 0d107d09f5bbe40cade3de5c71e9e9b7:letmein
> 0ebe6d2ed3acb352bfc62fe6990d87ca:strike1

That is probably due to empty or garbage lines in File.txt.
Try this:

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.

magnum

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.