|
Message-ID: <20110730144058.GA16132@openwall.com> Date: Sat, 30 Jul 2011 18:40:58 +0400 From: Solar Designer <solar@...nwall.com> To: john-users@...ts.openwall.com Subject: Re: Sha-256 W.A. - On Sat, Jul 30, 2011 at 04:28:17PM +0200, websiteaccess@...il.com wrote: > the renamed each file as following : > > rawSHA224_fmt_plug.c > rawSHA256_fmt_plug.c > rawSHA384_fmt_plug.c > rawSHA512_fmt_plug.c > > then compiled "make clean macosx-x86-64" > > You can see compilation log at > http://pastebin.com/efETLWPh > > I do a ./john -test, but no SHA224 -> 512 found. It looks like my sed expressions don't work right under Mac OS X. I guess your fmt_registers.h file is empty, right? In the Makefile, please find these two sed lines: $(SED) -n 's/^\(struct fmt_main [^ ]\+\) =.*/extern \1;/p' *_fmt_plug.c > fmt_externs.h $(SED) -n 's/^struct fmt_main \([^ ]\+\) =.*/john_register_one(\&\1);/p' *_fmt_plug.c > fmt_registers.h (note: they are _not_ adjacent), and replace \+ with * in them (yes, replace two characters with one). Then recompile. Does this help? This change is planned for -jumbo-5 since it's needed for Solaris as well. Thanks, 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.