Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Date: Wed, 6 Mar 2013 19:12:54 -0500
From: Rich Rumble <richrumble@...il.com>
To: john-dev@...ts.openwall.com
Subject: Re: Odf2John

On Wed, Mar 6, 2013 at 5:57 PM, shane Shane <shane@...twareontheside.info>wrote:

> Just checked. It is an AES encrypted file that's more than likely the
> issue.
>
>>
>>> My py2.6 Install doesn't seem to work but my Cygwin 2.7.3 does work
using unstable.

I've got all the imports it's calling, I don't know what I missing for that.

c:\JohnTheRipper-unstable-jumbo\run>c:\Python26\python.exe odf2john.py
c:\john-1.7.9-jumbo-7\Libre-Default_myhovercraftisfullofeels_.ods
Traceback (most recent call last):
  File "odf2john.py", line 104, in <module>
    process_file(sys.argv[i])
  File "odf2john.py", line 32, in process_file
    elements = list(r.iter())
AttributeError: _ElementInterface instance has no attribute 'iter'

c:\JohnTheRipper-unstable-jumbo\run>c:\Python26\python.exe odf2john.py
c:\john-1.7.9-jumbo-7\Libre-Default_myhovercraftisfullofeels_.odt
Traceback (most recent call last):
  File "odf2john.py", line 104, in <module>
    process_file(sys.argv[i])
  File "odf2john.py", line 32, in process_file
    elements = list(r.iter())
AttributeError: _ElementInterface instance has no attribute 'iter'

I did a quick search and it looks like "getiterator" works instead of
iter() for 2.6

Line 32
+    elements = list(r.getiterator())
-    elements = list(r.iter())

Again I'm no programmer/scripter but that change allows it to work for me.
-rich

Content of type "text/html" skipped

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.