[prev in list] [next in list] [prev in thread] [next in thread] 

List:       john-users
Subject:    Re: [john-users] DumbForce external mode
From:       Solar Designer <solar () openwall ! com>
Date:       2009-08-01 16:52:37
Message-ID: 20090801165237.GA11174 () openwall ! com
[Download RAW message or body]

On Sat, Aug 01, 2009 at 09:55:29AM +0200, websiteaccess wrote:
>  With this mode JTR use "a-z" and my special charset "é" "è" "ç" "à"
>  is it possible to limit JTR to use only "a" "b" "c" "d" and "é" "è" 
> "ç" "à"  ?

Sure, just replace 'z' with 'd' in the init() function:

/* This defines the character set */
	i = 0;
	c = 'a';
	while (c <= 'd')
		charset[i++] = c++;
	charset[i++] = 'é';
	charset[i++] = 'è';
	charset[i++] = 'à';
	charset[i++] = 'ç';

In case by "abcd" you meant arbitrary characters rather than these
specific ones, you may specify your arbitrary characters just like we
did for your 8-bit ones:

/* This defines the character set */
	i = 0;
	charset[i++] = 'a';
	charset[i++] = 'b';
	charset[i++] = 'c';
	charset[i++] = 'd';
	charset[i++] = 'é';
	charset[i++] = 'è';
	charset[i++] = 'à';
	charset[i++] = 'ç';

Alexander

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

[prev in list] [next in list] [prev in thread] [next in thread] 

Configure | About | News | Add a list | Sponsored by KoreLogic