|
Message-ID: <55F441A2.1010206@mailbox.org> Date: Sat, 12 Sep 2015 17:15:46 +0200 From: Frank Dittrich <frank.dittrich@...lbox.org> To: john-dev@...ts.openwall.com Subject: Re: mask + external as filter, generic combinable filters On 09/12/2015 05:10 PM, magnum wrote: > Yes, currently when combining mask mode with external, external is the > generator and mask mode is an amplifier (eg. word -> word1, word2, word3). > > We should probably support the other way round too, eg. mask generator > and external filter. But what would the option syntax be for selecting > behavior? If nothing else, an external mode that lacks generate(), like > in your case, should automagically select mask mode as the generator. Yes, I think if external mode lacks a generate() function, mask mode is the generator. If external mode has a generate() function, the mask must contain either "?w" or "?W". For --regex it would be similar. If the external mode has a generate() function, it is the generator, and --regex must contain "\0". 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.