Complie John the Ripper OpenCL

Make a folder, cd there and unzjp. Run sudo Install-AMD-APP.sh Dont reboot. It prompts for reboot so new environment vars from /etc/profile take place export LIBRARY_PATH=/opt/AMDAPP/lib/x86_64 Note that it’s not LD_LIBRARY_PATH. LIBRARY_PATH is used by gcc before compilation to search for directories containing libraries that need to be linked to your program.. LD_LIBRARY_PATH is used by your program to search for directories containing the libraries after it has been successfully compiled and linked.

Fix permissions on folders and executable files sudo chmod -R 755 /etc/OpenCL verify that it’s working fine clinfo

libssl-dev (openssl/sha.h)
opencl-headers (CL/cl.h)

Download JTR

http://www.openwall.com/john/ cd src make linux-x86-64-opencl make office2john

Test

john-1.7.9-jumbo-7/run/john --test
sudo aptitude install python-passlib
wget http://openwall.info/wiki/_media/john/john_test_data/john-opencl-tester.tar.gz
tar zxvf john-opencl-tester.tar.gz
./opencl-test.sh

http://developer.amd.com/tools-and-sdks/heterogeneous-computing/amd-accelerated-parallel-processing-app-sdk/downloads/#one

Tags: Tools