|
Message-ID: <4bc54ab01a1382be5a05ecec8a5c03d8@smtp.hushmail.com> Date: Mon, 10 Sep 2012 01:19:41 +0200 From: magnum <john.magnum@...hmail.com> To: john-users@...ts.openwall.com Subject: Re: Support for processing several files in pdf2john? On 26 Jul, 2012, at 19:32 , Alexander Cherepanov <cherepan@...me.ru> wrote: > On 2012-07-26 20:35, Dhiru Kholia wrote: >> On Mon, Jul 23, 2012 at 3:41 PM, Alexander Cherepanov<cherepan@...me.ru> wrote: >>> Shouldn't pdf2john support processing several files in one run? >>> >>> Now one can run >>> >>> zip2john challenge*> pkzip.john >>> rar2john challenge*> rar.john >>> >>> (it's not even necessary to select files of corresponding formats, like >>> challange*.zip). >>> >>> Until it's supported in pdf2john one can use the following command: >>> >>> for f in challenge*; do pdf2john "$f"; done> pdf.john >> >> pdf2john takes some extra arguments which only make sense in content >> of a single file (user password etc). Hence it takes a single file as >> input. > > These extra arguments are optional, right? If you don't use them then it's perfectly fine to process several files in one run. And using these options makes sense even for several files at once IMHO. I agree with this. In the rare case you supply options *and* multiple files, those options should be effective for every file. BTW I recently fixed office2john so it can handle multiple files. I can fix pdf2john too but it's a bit more code to digest. 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.