Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [thread-next>] [day] [month] [year] [list]
Date: Wed, 6 Feb 2013 13:59:20 -0500
From: Rich Rumble <>
Subject: python *2john scripts

I've just tried both bleeding and the jumbo-7, and I get the following
error on

I'm using python 2.6

$ python Libre-Default_myhovercraftisfullofeels_.odt
Traceback (most recent call last):
  File "", line 104, in <module>
  File "", line 32, in process_file
    elements = list(r.iter())
AttributeError: _ElementInterface instance has no attribute 'iter'

I've used Cygwin's python and ActiveStates's with the same results for ODF.

For pdf2john I'm not sure why my cygwin python works but my
activestate one gives this error (separate machines btw):

Traceback (most recent call last):
  File "", line 162, in <module>
  File "", line 18, in parse
    trailer = self.get_trailer()
  File "", line 108, in get_trailer
    raise "Can't find trailer"
TypeError: exceptions must be old-style classes or derived from
BaseException, not str works for me against the samples from the wiki:

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.