|
Message-ID: <20110730191719373802.8929484e@gmail.com> Date: Sat, 30 Jul 2011 19:17:19 +0200 From: "websiteaccess@...il.com" <websiteaccess@...il.com> To: john-users@...ts.openwall.com Subject: Re: Sha-256 On Sat, 30 Jul 2011 18:40:58 +0400, Solar Designer wrote: > 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? right, fmt_externs.h and fmt_registers.c have 0 bytes. > > In the Makefile, please find these two sed lines: > > $(SED) -n 's/^\(struct fmt_main [^ ]\+\) =.*/extern \1;/p' > *_fmt_plug.c > fmt_externs.h is now $(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 is now $(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? I have recompiled JTR, then ./john -test, I get this Benchmarking: Raw SHA-1(8x) [SHA-1]... DONE Raw: 8892K c/s real, 8892K c/s virtual Benchmarking: Raw SHA224 [56/64]... [iMac-de-xxx-xx:05808] *** Process received signal *** [iMac-de-xxx-xx:05808] Signal: Segmentation fault: 11 (11) [iMac-de-xxx-xx:05808] Signal code: Address not mapped (1) [iMac-de-xxx-xx:05808] Failing at address: 0x132b992a9 [iMac-de-xxx-xx:05808] [ 0] 2 libsystem_c.dylib 0x0000000103c6ecfa _sigtramp + 26 [iMac-de-xxx-xx:05808] [ 1] 3 john 0x00000001035bc4f0 md5cryptsse + 66688 [iMac-de-xxx-xx:05808] *** End of error message *** Segmentation fault: 11 iMac-de-xxx-xx:run xxxxxx$ W/A/
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.