Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 11 May 2011 01:00:40 +0200
From: Samuele Giovanni Tonon <>
To: john-dev <>
Subject: single mode problem

while trying to trace some memory problem in single mode with
ssha-opencl format, i finally found the culprit.

in single.c:

salt = single_db->salts;
do {
} while ((salt = salt->next));

so single_alloc_keys is called for every password found
in the file and it allocates max_keys_per_crypt * password length which
1024 * 2048 * 32 bytes for each key .

i could lower ssha_num_keys but this would hurt performance.
Any suggestion on how to fix this problem ?

this doesn't happen in incremental or wordlist mode.

N.B. i noted that, when single mode is gone memory is still allocated
cause there is no free(salt) : is it intended ?


While various networks have become deeply rooted, and thoughts have been
sent out as light and electrons in a singular direction, this era has
yet to digitize/computerize to the degree necessary for individuals to
become a singular complex entity.
  KOUKAKU KIDOUTAI Stand Alone Complex

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.