Openwall GNU/*/Linux - a small security-enhanced Linux distro for servers
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 28 Jan 2008 22:26:08 +0300
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re:  question about charsets

On Mon, Jan 28, 2008 at 04:30:13PM +0000, helleye wrote:
> but now kinda last problem , i dont know to calculate the order :\
> saw there is a scaning of the matrix to find global max at any point 
> and save it, but dotn know to calc the matrix :| 

Rather than merely explain this on the mailing list, I've just updated
the charset.c file adding plenty of comments on charset_generate_order()
explaining what it does, why it does that, and how it works:

	http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/john/john/src/charset.c
	http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/john/john/src/charset.c.diff?r1=1.6;r2=1.7;f=h
	http://cvsweb.openwall.com/cgi/cvsweb.cgi/Owl/packages/john/john/src/charset.c.diff?r1=1.6;r2=1.7

Enjoy!

Since the source code is self-explanatory to me (even after all those
years), the verbose comments only make it harder to read and edit for
me... but I guess that's the price to pay for making it easier for
others to "get into" the code.

> almost all ready already , just not the order 

You don't really have to duplicate the order[] calculation - you can
extract the order[] out of an existing .chr file.  I understand that you
may want to re-implement everything yourself, though. :-)

-- 
Alexander Peslyak <solar at openwall.com>
GPG key ID: 5B341F15  fp: B3FB 63F4 D7A3 BCCC 6F6E  FC55 A2FC 027C 5B34 1F15
http://www.openwall.com - bringing security into open computing environments

Was I helpful?  Please give your feedback here: http://rate.affero.net/solar

-- 
To unsubscribe, e-mail john-users-unsubscribe@...ts.openwall.com and reply
to the automated confirmation request that will be sent to you.

Powered by blists - more mailing lists

Your e-mail address:

Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.