Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [day] [month] [year] [list]
Date: Mon, 10 Sep 2012 01:19:41 +0200
From: magnum <>
Subject: Re: Support for processing several files in pdf2john?

On 26 Jul, 2012, at 19:32 , Alexander Cherepanov <> wrote:

> On 2012-07-26 20:35, Dhiru Kholia wrote:
>> On Mon, Jul 23, 2012 at 3:41 PM, Alexander Cherepanov<>  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.


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.