Crack SHA512crypt ($6$) with John the Ripper with Native OpenMPI multi-threading
JtR now natively supports multi-threading through the OpenMPI interface. All the code is right there in the jumbo version of JtR all you need to do is install OpenMPI and un comment the lines of code in the makefile. Now you can crack SHA512crypt passwords with all cores.
Alright lets get started:
yum install openmpi wget http://www.openwall.com/john/g/john-1.7.9-jumbo-6.tar.gz tar -zxvf john-1.7.9-jumbo-6.tar.gz cd john-1.7.9-jumbo-6/src
Now we need to edit Makefile and uncomment the ‘OpenMP’ lines.
vi Makefile
and uncomment the following line as per below:
OMPFLAGS =
# gcc with OpenMP
#OMPFLAGS = -fopenmp
OMPFLAGS = -fopenmp -msse2
# Sun Studio with OpenMP (set the OMP_NUM_THREADS env var at runtime)
#OMPFLAGS = -xopenmp
# icc with OpenMP (for make target linux-x86-64-icc)
#ICCOMPFLAGS = -openmp
now compile and run as per normal noticing that you now have 100% cpu usage!