Date: Sun, 14 Feb 2016 00:21:51 +0300 From: Solar Designer <solar@...nwall.com> To: john-dev@...ts.openwall.com Subject: Re: Doing raw SHA512 hashes (moved here from john-users) Frank, On Sat, Feb 13, 2016 at 10:17:27PM +0100, magnum wrote: > On 2016-02-13 21:34, Frank Wang wrote: > >Sorry about that. opencl_office2013_fmt_plug.c has a bunch of functions but > >no "main" function as far as I can see. What file calls the functions > >in opencl_office2013_fmt_plug.c to do the cracking? I'm mainly wondering > >this because I want to make sure that I'm using the kernel in the right way > >to get the optimizations that John the Ripper has done. > > Ah, OK. Well that's a long story. main() is in john.c. It will load > hashes (loader.c), and run a mode (eg. inc.c) which calls functions in > cracker.c. All this is "core code" used for any format. > > In short, the "core" of JtR will first call set_key() "n" times with > candidates. Then crypt_all(n) is called, to try those candadates. > Finally, the cmp_*() functions will be called to check if anything was > cracked. These functions are described with comments in formats.h. 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.