|
|
Message-ID: <555A142F.3090308@web.de>
Date: Mon, 18 May 2015 17:32:47 +0100
From: Demian Smith <demian.smith@....de>
To: john-users@...ts.openwall.com
Subject: Re: Advise on best approach (truecrypt pw based on pdf
file)
Hi Marek,
I tried Markov over night , but it doesn't look really good - I had
trained it on a pwd file generated from the pdf (with keeping only first
letters of each word), but it cretaed mostly candidates like
titttttttttttaief
So, I wanted to get back to the awk version and run it on a similar file
created from the pdfs in the relevant folder, alas, I get
cat all5 | awk '{for (i = 1; i <= length($1);
i++){for(j=i+4;j<i+12&&j<=length($1);j++){print substr($1, i,
j-i+1);}}}' | grep'^[A-Z]' > all6
grep^[A-Z]: command not found
I don't know enough about bash programming to sort this one out and
hence would come back to your advise, if you don't mind ...
Thanks,
Demian
--
'It's no measure of mental health to be well adjusted
to a profoundly sick society.'
Sinéad O'Connor
★ On 15/05/18 04:57 a.m. Marek Wrzosek wrote ★
> awk '{for (i = 1; i <= length($1); i++){for
> (j=i+4;j<i+12&&j<=length($1);j++){print substr($1, i, j-i+1);}}}'|grep
> '^[A-Z]'
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.