Date: Sat, 18 Feb 2012 17:55:49 +0100 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: format names for GPU-enabled implementations On 02/18/2012 05:41 PM, Solar Designer wrote: > On Sat, Feb 18, 2012 at 05:36:23PM +0100, magnum wrote: >> On 02/18/2012 05:08 PM, Solar Designer wrote: >>> We'd need to have "john" print something at runtime as well when it >>> has GPU code in it, is invoked on a GPU-enabled hash type, but >>> without the proper --format option (so using the CPU only). %-) >> >> This is already the case! >> >> magnum@...ge:john$ ./john test/test.md5 >> Warning: detected hash type "md5", but the string is also recognized as >> "cuda-cryptmd5" >> Use the "--format=cuda-cryptmd5" option to force loading these as that >> type instead >> Loaded 4 password hashes with 2 different salts (FreeBSD MD5 [SSE2i 12x]) >> Remaining 2 password hashes with no different salts > > Oh, indeed. :-) Since this code was put in for a different purpose > (ambiguous hash encodings), somehow I did not realize it'd do just what > we need here - but indeed it does. Thanks! > > OK, let's keep things as they are, then. One thing we might want though, is rename the CUDA formats from cuda-format to format-cuda just like the OpenCL ones. And it's about time we sort the format list in options.c alphabetically... --format=NAME force hash type NAME: des/bsdi/md5/bf/afs/lm/ dynamic_n/bfegg/dmd5/dominosec/epi/hdaa/ipb2/krb4/ krb5/mschapv2/mysql-fast/mysql/netlm/netlmv2/netntlm/ netntlmv2/nethalflm/md5ns/nt/phps/po/xsha/crc32/ hmac-md5/hmac-sha1/lotus5/md4-gen/mediawiki/mscash/ mscash2/mskrb5/mssql/mssql05/mysql-sha1/nsldap/nt2/ oracle11/oracle/phpass-md5/pix-md5/pkzip/raw-md4/ raw-md5/raw-sha1/raw-sha/raw-md5u/salted-sha1/sapb/ sapg/sha1-gen/raw-sha224/raw-sha256/raw-sha384/ raw-sha512/hmac-sha224/hmac-sha256/hmac-sha384/ hmac-sha512/xsha512/hmailserver/sybasease/ dragonfly3-64/dragonfly4-64/dragonfly3-32/ dragonfly4-32/drupal7/sha-crypt-256/sha-crypt-512/ crypt/trip/ssh/pdf/rar/zip/dummy/ssha-opencl/ raw-md5-opencl/nt-opencl/raw-sha1-opencl/ cryptmd5-opencl/phpass-opencl/mysql-sha1-opencl/ cuda-cryptmd5/cuda-phpass/cuda-cryptsha256/ cuda-cryptsha512/cuda-mscash/cuda-mscash2/ cuda-rawsha256/cuda-rawsha224 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.