|
Message-ID: <BLU0-SMTP321E81C0D3750D1DB3956DFFDFD0@phx.gbl> Date: Fri, 22 Jun 2012 00:53:30 +0200 From: Frank Dittrich <frank_dittrich@...mail.com> To: john-dev@...ts.openwall.com Subject: Re: relbench and changed format names On 06/22/2012 12:37 AM, Frank Dittrich wrote: > On 06/22/2012 12:23 AM, Solar Designer wrote: >> On Fri, Jun 22, 2012 at 12:04:06AM +0200, Frank Dittrich wrote: >>> This gets tricky because now some formats that used different format >>> names in jumbo-5 now use the same format name. >> >> Oh, perhaps we need to correct that as it'd keep confusing relbench. > > These are the format names: > > > $ ./john --list=format-details |cut -f 7|sort |uniq -c|grep -v "^ *1 " > 2 MySQL > 2 NT MD4 > 2 Raw SHA-1 > > These are the format labels: > > mysql-fast > mysql > nt > nt2 > raw-sha1 > raw-sha1-ng > > $ for f in mysql-fast mysql nt nt2 raw-sha1 raw-sha1-ng; > do ./john --test=1 --format=$f; done > Benchmarking: MySQL [32/32 (label mysql-fast)]... DONE > Raw: 4461K c/s real, 4461K c/s virtual > > Benchmarking: MySQL [32/32 (label mysql)]... DONE > Raw: 517064 c/s real, 517064 c/s virtual [...] I wouldn't have to run the test to see the format name and algorithm name: $ ./john --list=format-details |grep -E '\s(MySQL|NT MD4|Raw SHA-1)$'|cut -f 1,6,7 mysql-fast 32/32 (label mysql-fast) MySQL mysql 32/32 (label mysql) MySQL nt 128/128 SSE2 + 32/32 NT MD4 nt2 128/128 SSE2 intrinsics 12x NT MD4 raw-sha1 128/128 SSE2 intrinsics 8x Raw SHA-1 raw-sha1-ng 128/128 SSE2 intrinsics 4x Raw SHA-1 BTW, --list=format-details lists the formats in the sequence they are registered (same as --list=formats). And for those who want to adjust the format names, here are the src files: $ grep -E '"(MySQL|NT MD4|Raw SHA-1)"' *.c MYSQL_fast_fmt_plug.c:#define FORMAT_NAME "MySQL" MYSQL_fmt_plug.c:#define FORMAT_NAME "MySQL" NT_fmt_plug.c:#define FORMAT_NAME "NT MD4" nt2_fmt_plug.c:#define FORMAT_NAME "NT MD4" opencl_nt_fmt.c:#define FORMAT_NAME "NT MD4" rawSHA1_fmt_plug.c:#define FORMAT_NAME "Raw SHA-1" rawSHA1_ng_fmt.c: .format_name = "Raw SHA-1", Actually, I liked the idea to identify different format labels that crack the same hash, together with seeing possible differences in supported password length (in bytes): $ ./john --list=format-details |grep -E '\s(MySQL|NT MD4|Raw SHA-1)$'|cut -f 1,2 mysql-fast 32 mysql 32 nt 27 nt2 27 raw-sha1 55 raw-sha1-ng 15 Too bad that relbench needs distinct names to match benchmarks of different output files. Frank Frank
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.