|
Message-ID: <CACUFTMa5dBSEYL2xk0TH3TyiaS3g_ieFNPK-cuoMY8xwKgNDTA@mail.gmail.com> Date: Tue, 21 Jul 2015 16:12:24 -0600 From: Matthew Smith <turbogiant76@...il.com> To: john-users@...ts.openwall.com Subject: Re: syntax error in 7z2john Thank you both. I got past the syntax error. I ended up going to the earlier version of Python and using the topmost/latest version of the custom builds page. Unfortunately now I am getting this: 7-Zip files without header encryption are *not* supported yet! I googled and came across this: http://comments.gmane.org/gmane.comp.security.openwall.john.user/7012 and this: http://thread.gmane.org/gmane.comp.security.openwall.john.user/6779/focus=6784 but wasn't able to figure out what I was doing wrong. Any ideas that might help me get this working? Has this issue been addressed? On Tue, Jul 21, 2015 at 3:12 PM, magnum <john.magnum@...hmail.com> wrote: > On 2015-07-21 23:06, Aleksey Cherepanov wrote: > >> On Tue, Jul 21, 2015 at 02:50:01PM -0600, Matthew Smith wrote: >> >>> I am trying to get into a 7zip file I lost the password for. >>> >>> I originally downloaded and tried * John the Ripper 1.7.9-jumbo-5 >>> (Windows >>> binaries, ZIP, 3845 KB)*, got the syntax error, and tried an earlier >>> version, and got the same error. >>> >>> I know nothing of python(I code another language) and I'm not sure what >>> to >>> do. I would really like to get this working. Is there any workaround or >>> something I can do? >>> >>> Here's the error, found in : >>> >>> C:\john\run>7z2john myfile.7z >>> File "C:\john\run\7z2john.py", line 786 >>> print "%s:$7z$0$%s$%s$%s$%s$%s$%s$%s$%s$%s" % (fname, >>> >>> SyntaxError: invalid syntax >>> >> >> It seems that you use python3. Please try python2. >> > > Even if that fixes the Python problem, you will end up with an *ancient* > version of 7z format. IIRC it was almost useless, with false positives and > stuff. Please try latest (should be topmost) 1.8.x jumbo from > http://openwall.info/wiki/john/custom-builds instead - it will handle > newer Python too. > > 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.