|
Message-ID: <5558D73E.5020203@gmail.com> Date: Sun, 17 May 2015 20:00:30 +0200 From: Marek Wrzosek <marek.wrzosek@...il.com> To: john-users@...ts.openwall.com Subject: Re: Advise on best approach (truecrypt pw based on pdf file) Hi, Demian This awk one-liner will produce very long wordlist, so it depends how much of free space do you want to waste ;-) It could be |-ed to john, so no space would be wasted, but I don't know how fast it will be. If you pre-process the wordlist, it will took a lot of free space if not compressed, but john will be able to resume after abort. You could also pre-process the wordlist and gzip it, then use e.g. zcat to pipe it to john, if you don't like awk. If you decide to use awk command |-ed to john or decompress wordlist, then I don't know if john will be able to resume after abort or crash. Maybe magnum will know. Before you go back to Incremental mode, have you tried Markov mode? Best Regards W dniu 17.05.2015 o 19:18, Demian Smith pisze: > This is part why I love open source and free software communities, > everybody is so helpful and nice. I am glad to have people like ye and I > am happy whenever I can help other people myself (even though it's not > with JtR though). > > No, Marek - if you don't mind, while I understand what awk is, how would > I actually implement the rule you have given me? Would it be |-ed to > John? Or would I pre-process the wordfile? (Totally lost here, sorry...) > > Demian > > ★ On 15/05/17 05:25 p.m. Marek Wrzosek wrote ★ > 'It's no measure of mental health to be well adjusted > to a profoundly sick society.' > > Sinéad O'Connor > 'It's no measure of mental health to be well adjusted > to a profoundly sick society.' > > Sinéad O'Connor >> W dniu 17.05.2015 o 17:11, magnum pisze: >>> On 2015-05-17 12:18, Demian Smith wrote: >>>> So, this is my last question and with it I wish to apply for the "Most >>>> stupid question - 2015" award - is it possible, to create a "moving >>>> interval" rule? >>> >>> Not in the way you describe below, no. Mainly because I believe we can't >>> handle more than 125 characters of input in one line. >>> >>>> I am thinking to take my wordlist rule, remove all the line breaks so >>>> that I have a really long stream of chars and then just move the >>>> Interval. >>>> >>>> Say, my stream would be >>>> SiadqrfewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>>> >>>> I'd like to have rule (or preoprocessed rule) that walks throught the >>>> file like this >>>> [Siad]qrfewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>>> [Siadq]rfewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>>> [Siadqr]fewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>>> (...) >>>> [Siadqrfewmnsohabiwto]arotwwsbaotmcaaTpthbwuitrubwltetpt >>>> S[iadq]rfewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>>> S[iadqr]fewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>>> S[iadqrf]ewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>>> (...) >>>> Si[adqr]fewmnsohabiwtoarotwwsbaotmcaaTpthbwuitrubwltetpt >>> >>> I think this is best done with a perl script or something. Probably very >>> trivial but I'll pass for now. Anyone? >>> >>> magnum >>> >> Hi >> >> This simple awk one-liner can do the trick: >> awk '{for (i = 1; i <= length($1); i++){for >> (j=i;j<=length($1);j++){print substr($1, i, j-i+1);}}}' >> >> Feel free to adjust i or j accordingly (e.g. if you don't want passwords >> shorter than 4 letters just change j=i to j=i+3). >> >> Best Regards >> > > 'It's no measure of mental health to be well adjusted > to a profoundly sick society.' > > Sinéad O'Connor > -- Marek Wrzosek marek.wrzosek@...il.com
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.