|
Message-ID: <CAC4WxJ6nnF65vuhV165a1GuS7uAj7XeOz4_Py3D-629Ba1iaXw@mail.gmail.com>
Date: Tue, 17 Jan 2012 17:48:35 +0100
From: Guth <guth@...posor.com>
To: john-dev@...ts.openwall.com
Subject: getting computed hash value
Hi all,
i'm trying to make some (minor so far) hack on jtr and try to find a way to
get/display the computed hash of any promat from the crk_* functions.
Am I missing the key point ? Or does it requires to patch every format file
to add a get_computed_hash() function such as :
uint format_get_computed_hash(void *return_value) {
if (memcpy(return_value, format_local_storage_of_computed_hash,
size_of_hash))
return (size_of_hash);
return (0);
}
ex on MD5:
uint format_get_computed_hash(void *return_value) {
if (memcpy(return_value, crypt_out, BINARY_SIZE))
return (BINARY_SIZE);
return (0);
}
Thanks.
Content of type "text/html" skipped
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.