Compiling John the Ripper with OpenCL support on Debian testing [updated]

John the Ripper has now experimental OpenCL support via a patch distributed by the official site. Sadly, AMD OpenCL toolkit (APP 2.6, drivers 11.11+) is broken, so I can’t try it, but if you want to build it, here’s how I did it:

# cd /usr/src
# git clone git://github.com/magnumripper/magnum-jumbo john-git
# apt-get install build-essential libssl-dev opencl-headers
# apt-get install amd-opencl-icd amd-libopencl1 # this will be different for nvidia and intel!
# apt-get install --no-install-recommends fglrx-driver fglrx-source glx-alternative-fglrx xserver-xorg-video-fglrx fglrx-modules-dkms libgl1-fglrx-glx fglrx-atieventsd module-assistant kernel-package libxvbaw1 autopoint libmail-sendmail-perl # also, this will be different for Nvidia and Intel
# cd john-git/src
# vim Makefile

Here you should uncomment the line reading “OMPFLAGS = -fopenmp -msse2”, then save and compile:

# make -j3 linux-x86-64-opencl
[...]
# ../run/john -test
Advertisements

2 thoughts on “Compiling John the Ripper with OpenCL support on Debian testing [updated]

  1. I get this error :

    root@asterion:/home/asterion/Escritorio/john-1.7.9-jumbo-7/src# ../run/john –test
    Section [���] not found.
    help[:WHAT], subformats, inc-modes, rules, externals, ext-filters,
    ext-filters-only, ext-modes, build-info, hidden-options, encodings,
    formats, format-details, format-all-details, format-methods[:WHICH],
    sections, parameters:SECTION, list-data:SECTION,
    opencl-devices,

Leave a Reply

Fill in your details below or click an icon to log in:

WordPress.com Logo

You are commenting using your WordPress.com account. Log Out / Change )

Twitter picture

You are commenting using your Twitter account. Log Out / Change )

Facebook photo

You are commenting using your Facebook account. Log Out / Change )

Google+ photo

You are commenting using your Google+ account. Log Out / Change )

Connecting to %s