|
Message-ID: <20090726131749.GA12764@openwall.com> Date: Sun, 26 Jul 2009 17:17:49 +0400 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Subject: Re: DumbForce init() function On Sun, Jul 26, 2009 at 02:42:10PM +0200, websiteaccess wrote: > I have modified JTR to add french charset "é" "è" etc... with your > help. > > It works fine, but I had to rebuild the alpha, alnum, all charsets > (older with not compatible with). Now my JTR is less powerfull (crack > less words in same time than yours), because original charset was > highly optimized. I can't rebuild the same. Instead of rebuilding all .chr files, you could have kept a separate build of JtR (with the original params.h) for use in all cases except when you have a need to use your new .chr file with the 4 extra characters in it. > There is an other way, to keep your highly charset, and add french > char. > > You told me : > ------------------------------------------- > An even simpler approach, not requiring a recompile, would be to use the > DumbForce external mode sample, configuring it for your desired charset. > In the init() function, you'll specify: > > i = 0; > c = 'a'; > while (c <= 'z') > charset[i++] = c++; > charset[i++] = 'é'; > charset[i++] = 'è'; > charset[i++] = 'à'; > charset[i++] = 'ç'; > > replacing the existing lines (many of them) defining another charset > after the "This defines the character set." comment. > ------------------------------------------- > > I'm really stupid with programming, could you add the code above (in > differents rights place) in the john.conf and return me the john.conf > correctly modified ? I've modified the original DumbForce mode sample from JtR 1.7.3.1, tested it briefly, and attached it to this message. You'll need to append this to your john.conf. Also, just to demonstrate what my changes were, I generated and attached a diff file comparing the original DumbForce sample with my modified version. Alexander View attachment "DumbForce-alpha-fr" of type "text/plain" (1515 bytes) View attachment "DumbForce-alpha-fr.diff" of type "text/plain" (2193 bytes) -- 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
Confused about mailing lists and their use? Read about mailing lists on Wikipedia and check out these guidelines on proper formatting of your messages.