Cody Sapp | 23 May 2012 16:19

Cuda version of John the Ripper

Is there a cuda version of John the Ripper?  If so, how do I install it on
my linux computer?
Lukas Odzioba | 23 May 2012 18:08
Picon
Gravatar

Re: Cuda version of John the Ripper

2012/5/23 Cody Sapp <tgq714@...>:
> Is there a cuda version of John the Ripper?  If so, how do I install it on
> my linux computer?
The latest source is available on github:

git clone git@...:magnumripper/magnum-jumbo.git
cd magnum-jumbo/src
make linux-x86-cuda  or linux-x86-64-cuda for 64bit systems.

Lukas

Cody Sapp | 24 May 2012 13:22

Re: Cuda version of John the Ripper

Um...do I just put the command git clone
git@...:magnumripper/magnum-jumbo.git
in a Konsole window and run it, because every time I do, it prints the
following:

Initialized empty Git repository in /root/magnum-jumbo/.git/
The authenticity of host 'github.com (207.97.227.239)' can't be established.
RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
Are you sure you want to continue connecting (yes/no)? yes
Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of
known hosts.
Permission denied (publickey).
fatal: The remote end hung up unexpectedly

On Wed, May 23, 2012 at 12:08 PM, Lukas Odzioba <lukas.odzioba@...>wrote:

> 2012/5/23 Cody Sapp <tgq714@...>:
> > Is there a cuda version of John the Ripper?  If so, how do I install it
> on
> > my linux computer?
> The latest source is available on github:
>
> git clone git@...:magnumripper/magnum-jumbo.git
> cd magnum-jumbo/src
> make linux-x86-cuda  or linux-x86-64-cuda for 64bit systems.
>
> Lukas
>
Solar Designer | 24 May 2012 14:23
Favicon

Re: Cuda version of John the Ripper

On Thu, May 24, 2012 at 07:22:19AM -0400, Cody Sapp wrote:
> Um...do I just put the command git clone
> git@...:magnumripper/magnum-jumbo.git
> in a Konsole window and run it, because every time I do, it prints the
> following:
> 
> Initialized empty Git repository in /root/magnum-jumbo/.git/
> The authenticity of host 'github.com (207.97.227.239)' can't be established.
> RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
> Are you sure you want to continue connecting (yes/no)? yes
> Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the list of
> known hosts.
> Permission denied (publickey).
> fatal: The remote end hung up unexpectedly

Please try this command instead:

git clone git://github.com/magnumripper/magnum-jumbo

Also, I suggest that you don't work as root unnecessarily.

Alexander

Cody Sapp | 24 May 2012 14:50

Re: Cuda version of John the Ripper

Okay that worked, but when I ran make linux-x86-64-cuda (since my computer
is 64-bit), these last few lines appeared before the command stopped
executing:

t -ldl -lcudart -o ../run/john
/usr/bin/ld: cannot find -lcudart
collect2: ld returned 1 exit status
make[1]: *** [../run/john] Error 1
make[1]: Leaving directory
`/home/csapp/JohnTheRipper/john-1.7.9/run/magnum-jumbo/src'
make: *** [linux-x86-64-cuda] Error 2

Are those errors going to be problematic?

On Thu, May 24, 2012 at 8:23 AM, Solar Designer <solar@...> wrote:

> On Thu, May 24, 2012 at 07:22:19AM -0400, Cody Sapp wrote:
> > Um...do I just put the command git clone
> > git@...:magnumripper/magnum-jumbo.git
> > in a Konsole window and run it, because every time I do, it prints the
> > following:
> >
> > Initialized empty Git repository in /root/magnum-jumbo/.git/
> > The authenticity of host 'github.com (207.97.227.239)' can't be
> established.
> > RSA key fingerprint is 16:27:ac:a5:76:28:2d:36:63:1b:56:4d:eb:df:a6:48.
> > Are you sure you want to continue connecting (yes/no)? yes
> > Warning: Permanently added 'github.com,207.97.227.239' (RSA) to the
> list of
> > known hosts.
(Continue reading)

Solar Designer | 24 May 2012 15:55
Favicon

Re: Cuda version of John the Ripper

On Thu, May 24, 2012 at 08:50:06AM -0400, Cody Sapp wrote:
> Okay that worked, but when I ran make linux-x86-64-cuda (since my computer
> is 64-bit), these last few lines appeared before the command stopped
> executing:
> 
> t -ldl -lcudart -o ../run/john
> /usr/bin/ld: cannot find -lcudart

It's a bit puzzling that you got this far since the error indicates that
your CUDA SDK is not fully available for this build.  Have you used CUDA
before?  On this system?

Here are settings that work with a default install from
cudatoolkit_4.2.9_linux_64_ubuntu11.04.run:

export PATH=$PATH:/usr/local/cuda/bin
export LD_LIBRARY_PATH=/usr/local/cuda/lib64

What's your reason to use a CUDA-enabled build of John the Ripper?  What
hash types do you intend to use it with?  Do we even have CUDA code for
those?  (It's not like a "CUDA version of John the Ripper".  It is CUDA
code for a handful of individual hash types.)

Have you used John the Ripper before?  Do you currently have it working
on your target hashes?  What performance are you getting, which you're
presumably hoping to improve by using CUDA?  Are you already using
OpenMP or another approach to parallelization?  What CPUs and GPUs do
you have in that machine?

Is this all just for the sake of it - try out a CUDA-enabled password
(Continue reading)


Gmane