Follow @Openwall on Twitter for new release announcements and other news
[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <790D39BBD16B0B4D94B62DEB124394AA018D136922@Exchange2010.snetworking.com>
Date: Sat, 29 Dec 2012 04:17:06 +0000
From: John Hall <JohnH@...tworking.com>
To: "'john-users@...ts.openwall.com'" <john-users@...ts.openwall.com>
Subject: RE: pwsafe2john - How to use this program, preferably
 in Windows or in Linux if Windows is a no-go?

Dhiru,

Thanks for the reply.

I think I may need baby steps :(

Per your recommendation, I went to https://github.com/magnumripper/JohnTheRipper using Firefox in Ubuntu

Once there was not quite sure what to do.  So I downloaded john.c and then at a command prompt issues gcc john.c -o john
Got a bunch of messages. So I presume I need to download more files.
Q: After I get to https://github.com/magnumripper/JohnTheRipper what to do next?

John

-----Original Message-----
From: Dhiru Kholia [mailto:dhiru.kholia@...il.com] 
Sent: Friday, December 28, 2012 7:50 PM
To: john-users@...ts.openwall.com
Subject: Re: [john-users] pwsafe2john - How to use this program, preferably in Windows or in Linux if Windows is a no-go?

On Saturday 29 December 2012 06:31 AM, John Hall wrote:
> 1. I tried the following under Ubuntu (running in a VM on Win 7):
> git clone git://github.com/magnumripper/magnum-jumbo

You should be using https://github.com/magnumripper/JohnTheRipper
> gcc pwsafe2john.c -o pwsafe2john  # from src/ folder That complained 
> that there was an undefined reference to 'main'
>
> So I changed the pwsafe2john name in the pwsafe2john.c file to main 
> Then recompiled with no errors (not sure this was the right 'fix')
Just building john itself is enough to build "pwsafe2john" program which gets put in "run" sub-folder.

> Then ran
>     ./pwsafe2john pwsafe.psafe3 > pwsafedump
>
> That complained "Couldn't find PWS3 magic string. Is this a Password Safe file?"
>
> Well it is a Password Safe file, but from a Windows environment, not sure if that matters.
>
> Using UltraEdit on the pwsafe.psafe3 file, it shows the first 4 characters as PWS3. So I think the file is the correct one.

This one is a puzzling. I just tested pwsafe2john with samples downloaded from http://openwall.info/wiki/john/sample-non-hashes and it works fine. The samples were mostly generated on M$ Windows.

Can you try running pwsafe2john on files inside http://openwall.info/wiki/_media/john/Sample-Password-Safe-Safes.tar
archive?

> So I am a bit of a fish out of water on this program.
>
> Any suggestions on how to successfully extract the hash from the pwsafe.psafe3 file so I can feed it to JTR to try to crack?

No worries. After some debugging and patching it will work :-)

- Dhiru

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.