Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Mon, 8 Aug 2011 07:12:44 +0400
From: Solar Designer <solar@...nwall.com>
To: john-users@...ts.openwall.com
Subject: Re: I posted that, but may be missing due contest

W/A/ -

This is mostly off-topic for john-users, but since it's already in here,
I'll reply this one time.

On Sun, Aug 07, 2011 at 06:58:09PM +0200, websiteaccess@...il.com wrote:
> I have downloaded john 1.7.8 5c4 my account at contest.openwall.net
> 
>  I would like add digits + symbols (_-+/:, etc???) + letters with accent 
> (from european countries, such ?? ?? ?? ?? ?? ?? ??  etc..) and length 
> (actually 8 with -i mode) =  13 characters.
> 
>  I know how to do with former version 1.7.8 jumbo 5) but not with the 
> latest.
>  Is someone can tell me what change in the params.h ?
> 
>  #define CHARSET_MIN			' ' <--- to change ?
> #define CHARSET_MAX			0xFF   <--- to change ?
> #define CHARSET_SIZE			(CHARSET_MAX - CHARSET_MIN + 1)
> #define CHARSET_LENGTH			15 <--- to change ?

The defaults in 1.7.8-j5c4 are:

#define CHARSET_MIN			' '
#define CHARSET_MAX			0x7E
#define CHARSET_SIZE			(CHARSET_MAX - CHARSET_MIN + 1)
#define CHARSET_LENGTH			15

To allow for accents, you need to change CHARSET_MAX to:

#define CHARSET_MAX			0xFF

No other change is needed.  Of course, you'll need to regenerate your
.chr files after this change.

For others on john-users: yes, the 64-bit overflow problem in the code
is avoided in the contest revision of it, so settings such as the above
work fine.  This will be available as a standard feature a bit later.

> Mac os X users : About compilation john-1.7.8-j5c4, you have to change 
> each occurrence of "sse-intrinsics.S" with "sse-intrinsics.o" in the 
> make file (src/make).
>  Without these changes compilation will fails.

This is also contest-specific.  We used a pre-generated assembly file
for sse-intrinsics.c produced with Intel's compiler in the contest
edition of JtR.  Thus, we got optimal performance for MD5-based hashes
on x86-64 (using SSE2) even on systems with gcc and even with older
versions of gcc.  But it was a hack, indeed.  And as W/A/ reported, the
pre-generated assembly file did not work with the assembler of Mac OS X.
I was not surprised.  The contest edition was focused on Linux builds.

Alexander

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.