Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Sat, 17 Sep 2011 17:16:32 +0200
From: Pablo Fernandez <>
Subject: integer limit reached

Dear devels,

I am working on a block-based external filter:


int min, max;                                // Search margins
int min_secure, max_secure;             // Security margins (to avoid losing 
int number;                             // Current word number

void init()
        min = $MIN; 
        max = $MAX;            
        number = 0;
        min_secure = min - 2;           // To compensate the first auto-
        max_secure = max + 1;          //  And also a bit more on the edge

void filter()
        if (number++ < min_secure) { word = 0; return; }  // Advance until the 
first word
        if (number > max_secure)  {event_pending = event_abort = 1;}  // 

Those $MIN and $MAX are written by an external script.

The problem I found is that, with big numbers, I hit the maximum integer:
Unpacking runtime
Starting john
Compiler error in ./john.conf at line 1263: Integer constant out of range

Then I went to the compiler.c code and I saw it only supports integers. Have I 
just hit a brick wall? In my first try I was working with MD5, but this would 
be much worse for DES.

Is there any plan to support bigint, for example? Or is there any workaround? 

Does actually John work internally with numbers bigger than 32 bit integers? 
In fact I am working with a 64 bit machine, is it possible to change the 
integer size on John's compile time?


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.