Discussion:
my incremental mode
antuan 55
2009-02-19 22:56:45 UTC
Permalink
Hello,

How can I create a incremental mode that has eight characters with minuscule
letters and numbers only?

ex:

#john -i:8char_alphaMin_num -stdout

qwerty54
h3ll0bro
people21
h4ouseee

Thanks.
Solar Designer
2009-02-19 23:19:50 UTC
Permalink
Post by antuan 55
How can I create a incremental mode that has eight characters with minuscule
letters and numbers only?
#john -i:8char_alphaMin_num -stdout
qwerty54
h3ll0bro
people21
h4ouseee
The pre-defined Alnum mode (and the included alnum.chr that it uses)
does just that, for lengths 1 to 8. If you need to "lock" it to length
8 only, then you do it by changing "MinLen = 1" to "MinLen = 8". Rather
than alter the existing Alnum mode, you may in fact define a new one:

[Incremental:Alnum8]
File = $JOHN/alnum.chr
MinLen = 8
MaxLen = 8
CharCount = 36

The alnum.chr file stays the same.

On the command line, you'll use "john -i=Alnum8 ..." (with whatever
other options you need and with password file names given).

Alexander
--
To unsubscribe, e-mail john-users-unsubscribe-***@public.gmane.org and reply
to the automated confirmation request that will be sent to you.
antuan 55
2009-02-20 13:39:17 UTC
Permalink
But this mode use majuscule ¿no?

And another thing:

CharCount=1 ---> 1
CharCount=2 ---> 2
CharCount=3 ---> 3
............................
CharCount=10 ---> a
CharCount=11 ---> b
CharCount=12 ---> c

Is true?
Post by Solar Designer
Post by antuan 55
How can I create a incremental mode that has eight characters with
minuscule letters and numbers only?
[...]
Post by Solar Designer
The pre-defined Alnum mode (and the included alnum.chr that it uses)
does just that, for lengths 1 to 8. [...]
--
To unsubscribe, e-mail john-users-unsubscribe-***@public.gmane.org and reply
to the automated confirmation request that will be sent to you.
Solar Designer
2009-02-20 18:05:35 UTC
Permalink
But this mode use majuscule ?no?
No, the pre-defined Alnum mode uses 10 digits and 26 lower-case letters only.
CharCount=1 ---> 1
CharCount=2 ---> 2
CharCount=3 ---> 3
............................
CharCount=10 ---> a
CharCount=11 ---> b
CharCount=12 ---> c
Is true?
No, it is not (if I understood you correctly). By reducing CharCount,
you tell JtR to only try this-many most-frequent characters, separately
for each position and depending on two preceding characters. The actual
number of different characters tried will usually be higher than
CharCount, because different characters are the most frequent ones in
different positions and after different preceding characters - but the
total effort will be exactly the same as that of trying CharCount
different characters. I understand that this is difficult to grasp.
I'll illustrate it with an example:

[Incremental:Alnum-3-2]
File = $JOHN/alnum.chr
MinLen = 3
MaxLen = 3
CharCount = 2

./john -i=alnum-3-2 --stdout
pmc
dog
don
def
dea
pat
pam
pm1
words: 8 time: 0:00:00:00 w/s: 800 current: pm1

It is usually not a good idea to restrict CharCount. In fact, you don't
have to specify it at all, and the only reason to specify "CharCount = 36"
for "Alnum" is to get JtR to print a warning if this turns out to be
inconsistent with the .chr file.

Finally, please be careful to quote only relevant context of the
preceding discussion. This time, you quoted the message you were
replying to in its entirety - including even the mailing list manager's
unsubscribe notice. (I hear that Gmail may sometimes hide quoted text,
yet send it along with the message.) I had to remove the extraneous
quoting by editing your message in the moderation queue. On some other
occasions, I am simply rejecting improperly formatted messages like that.

http://www.netmeister.org/news/learn2quote.html

Thanks,

Alexander
--
To unsubscribe, e-mail john-users-unsubscribe-***@public.gmane.org and reply
to the automated confirmation request that will be sent to you.
Loading...