Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <BLU0-SMTP469AE022CC16798F9443CF2FDF00@phx.gbl>
Date: Sun, 10 Jun 2012 20:51:05 +0200
From: Frank Dittrich <frank_dittrich@...mail.com>
To: john-dev@...ts.openwall.com
Subject: Re: Patch: allow --markov=SECTION in addition to --markov[=[MIN_LEVEL-]LEVEL[:START[:END[:[MIN_LENGHT-]LENGTH]]]]

On 06/10/2012 09:49 AM, Simon Marechal wrote:
> I should really read the code instead of asking, but I am not sure I
> will have time for this soon, so here it is : is it still possible to
> run like this :
> 
> -markov:300:0:1148673650879:24 -sess:markov0
> -markov:300:1148673650879:2297347301758:24 -sess:markov1
> -markov:300:2297347301758:3446020952637:24 -sess:markov2
> -markov:300:3446020952637:4594694603516:24 -sess:markov3
> -markov:300:4594694603516:5743368254395:24 -sess:markov4
> -markov:300:5743368254395:0:24 -sess:markov5

I just wondered why you use the END value of the first session as START
value of the second.
I assumed you could use END+1 of the previous session as the START for
the next session.

I would have assumed that you try those passwords twice.
Not that it would matter much, I was just curious.

That's why I did some tests with john-1.7.9-jumbo-5:

$ ./john --markov=399:0:0:30 --stdout|head
MKV start (lvl=399 len=30 pwd=165139712673862902)
chanererererererererere
chanerererererererereri
chanererererererererera
chanererererererererero
chanererererererererer
chanererererererererel
chanererererererereren
chanererererererereres
chanererererererereret
chanererererererererea

$ ./john --markov=399:0:1:30 --stdout
MKV start (lvl=399 len=30 pwd=1)
chanererererererererere
chanerererererererereri
chanererererererererera
chanererererererererero
chanererererererererer
chanererererererererel
chanererererererereren
chanererererererereres
chanererererererereret
chanererererererererea
chanerererererererered
chanerererererererereb
words: 12  time: 0:00:00:03 DONE (Sun Jun 10 20:37:35 2012)  w/s: 3.59
current: chanerererererererereb

$ ./john --markov=399:1:1:30 --stdout
MKV start (lvl=399 len=30 pwd=0)
chanererererererererere
chanerererererererereri
chanererererererererera
chanererererererererero
chanererererererererer
chanererererererererel
chanererererererereren
chanererererererereres
chanererererererereret
chanererererererererea
chanerererererererered
words: 11  time: 0:00:00:03 DONE (Sun Jun 10 20:38:01 2012)  w/s: 3.23
current: chanerererererererered

$ ./john --markov=399:1:3:30 --stdout
MKV start (lvl=399 len=30 pwd=2)
chanererererererererere
chanerererererererereri
chanererererererererera
chanererererererererero
chanererererererererer
chanererererererererel
chanererererererereren
chanererererererereres
chanererererererereret
chanererererererererea
chanerererererererered
chanerererererererereb
chanererererererererec
words: 13  time: 0:00:00:03 DONE (Sun Jun 10 20:38:46 2012)  w/s: 3.80
current: chanererererererererec

$ ./john --markov=399:2:3:30 --stdout
MKV start (lvl=399 len=30 pwd=1)
chanerererererererereri
chanererererererererera
chanererererererererero
chanererererererererer
chanererererererererel
chanererererererereren
chanererererererereres
chanererererererereret
chanererererererererea
chanerererererererered
chanerererererererereb
chanererererererererec
words: 12  time: 0:00:00:03 DONE (Sun Jun 10 20:30:28 2012)  w/s: 3.19
current: chanererererererererec

$ ./john --markov=399:1:10:30 --stdout
MKV start (lvl=399 len=30 pwd=9)
chanererererererererere
chanerererererererereri
chanererererererererera
chanererererererererero
chanererererererererer
chanererererererererel
chanererererererereren
chanererererererereres
chanererererererereret
chanererererererererea
chanerererererererered
chanerererererererereb
chanererererererererec
chanererererererererem
chanerererererererereu
chanerererererererere
chanererererererererine
chanererererererererin
chanererererererererie
chanererererererereric
words: 20  time: 0:00:00:03 DONE (Sun Jun 10 20:39:53 2012)  w/s: 5.26
current: chanererererererereric


And now I am a little bit confused.

I could understand if all these examples would produce the same number
of words. I would just have assumed that you don't want to check for
each single word whether the required number of words has been created.
But then, all these examples should have created 11 or 12 words.

Do I have to dig into the source code if I want to find out what's going on?

Frank




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.