|
Message-ID: <b086c95badf5874f2971f20fab7fef7f@smtp.hushmail.com> Date: Wed, 23 Jan 2013 20:40:52 +0100 From: magnum <john.magnum@...hmail.com> To: john-dev@...ts.openwall.com Subject: Re: Min password length On 23 Jan, 2013, at 19:02 , magnum <john.magnum@...hmail.com> wrote: > On 23 Jan, 2013, at 18:43 , Frank Dittrich <frank_dittrich@...mail.com> wrote: >> On 01/23/2013 06:25 PM, magnum wrote: >>> BTW we need some systematic testing of these new options. >> >> I knew how --min-length=N and --max-length=N work for --incremental and >> --markov (tested this in the past). >> After my last reply to Jim I tested it with --wordlist (with and without >> --rules), and was just thinking about how to test it for --single mode >> (since --single doesn't work well with --stdout). > > The mechanisms for this are in the rules engine, so if it works fine for Wordlist it ought to work fine for Single. We should double check it though. Here's the official magnum-one-liner[tm] for testing (not Single though): $ ../run/john --stdout -wo -ru | perl -e 'while (<>) { chomp; $len{ length($_)}++; } foreach $len (keys(%len)) { printf "%02d: %d\n", $len, $len{$len}; }' | sort -n words: 156846 time: 0:00:00:00 DONE (Wed Jan 23 20:34:28 2013) w/s: 1206K current: Sssing 00: 1 01: 6 02: 4 03: 388 04: 5408 05: 13276 06: 28677 07: 47502 08: 29579 09: 18777 10: 7173 11: 2114 12: 3801 13: 81 14: 55 15: 2 16: 2 Now, add a max format length (ie. --stdout=10) and try again. Due to truncation, the figure for 10 goes up. Then also add --max-len=10 and try again. It goes down again. Add a --minlen, throw in rules, external filters and so on. 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.