Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <4D781BAF.2080608@bredband.net>
Date: Thu, 10 Mar 2011 01:30:39 +0100
From: magnum <rawsmooth@...dband.net>
To: john-dev@...ts.openwall.com
Subject: Re: --utf8 option, proof of concept

On 03/09/2011 11:20 PM, jfoug wrote:
> I believe the changes made will now work for NT utf-8 to Unicode, up to 27
> Unicode characters (or up to however many Unicode characters can be built
> from 95 utf8 characters).

It just segfaulted for me until I put this little joker back:

diff --git a/src/NT_fmt.c b/src/NT_fmt.c
index 5aaf1df..bff1b62 100644
--- a/src/NT_fmt.c
+++ b/src/NT_fmt.c
@@ -819,7 +819,7 @@ key_cleaning:

         nt_buffer1x[buff_base+14] = md4_size << 4;
  #endif
-       memcpy(saved_plain[saved_base], key, len);
+       memcpy(&saved_plain[saved_base], key, len);
         saved_plain[saved_base+len] = 0;
  }


Now it cracks all 100 of the greek hashes but for some reason it only 
cracks the very first *one* of the below (which I created to test lengths):

user101:$NT$030926b781938db4365d46adc7cfbcb8:::€
user102:$NT$682467b963bb4e61943e170a04f7db46:::€€
user103:$NT$181d21ee290b533118fa1a7c8889e04a:::€€€
user104:$NT$09bfe9583b0d4b07add7249a7cccd83e:::€€€€
user105:$NT$5c4b3a888dd4b9e9ebab7e59bcb25be8:::€€€€€
user106:$NT$9bbccfb70a6ee146f87245ba8f93ff0c:::€€€€€€
user107:$NT$ecb69ccc5fe30d718840ab39f750235b:::€€€€€€€
user108:$NT$a4085464b531f577bd91cc869763d20d:::€€€€€€€€
user109:$NT$597fe2c72f6ca5624c55b39894efb270:::€€€€€€€€€
user110:$NT$a09118f06d50521d8da21e101fdb470c:::€€€€€€€€€€
user111:$NT$c26700043d37220c26ea4d72ea4930f9:::€€€€€€€€€€€
user112:$NT$ad308cb00f34971497fcfb780908d4c6:::€€€€€€€€€€€€
user113:$NT$5786fbf22e424a6d77ffca543d4dd020:::€€€€€€€€€€€€€
user114:$NT$7ab3eb56b8f7d01d0fdc6eaf2c5788a5:::€€€€€€€€€€€€€€
user115:$NT$ddca4b9650587e3de12c1e09983a1d7a:::€€€€€€€€€€€€€€€
user116:$NT$9f9f3cc102f0b186e6c6635ae444999a:::€€€€€€€€€€€€€€€€
user117:$NT$48b671d9b24eca236a13a06c9797ef07:::€€€€€€€€€€€€€€€€€
user118:$NT$680f423d008bccf171f432dc42d779e9:::€€€€€€€€€€€€€€€€€€
user119:$NT$44276a25e609101ff2244f617e708659:::€€€€€€€€€€€€€€€€€€€
user120:$NT$a64950df4ff021955ddd9c7fd7a096c9:::€€€€€€€€€€€€€€€€€€€€
user121:$NT$49c35b15acaab95d105c8f0ed3017968:::€€€€€€€€€€€€€€€€€€€€€
user122:$NT$07933aaa6693a06bc577fb866d3ff2ca:::€€€€€€€€€€€€€€€€€€€€€€
user123:$NT$7eccdf18eee8cb9a2744a96672b0c1a3:::€€€€€€€€€€€€€€€€€€€€€€€
user124:$NT$3e01eb65218b710fce123c746c12669c:::€€€€€€€€€€€€€€€€€€€€€€€€
user125:$NT$72c323b9b8ed591208e2cefe4770f77f:::€€€€€€€€€€€€€€€€€€€€€€€€€
user126:$NT$837ae5c7e68e2a935949195e4f75a4bb:::€€€€€€€€€€€€€€€€€€€€€€€€€€
user127:$NT$8537f49ce240e443282eeb42ccf8c299:::€€€€€€€€€€€€€€€€€€€€€€€€€€€
user128:$NT$dfa5f19efadaa35b1c3fb4960d77feac:::€€€€€€€€€€€€€€€€€€€€€€€€€€€€

Apparently we need a couple more fmt_tests to be safer.

magnum

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.