This is an old revision of the document!
Use John The Ripper to crack password hashes
prepare shadow and passwd files for john
first unshadow your passwd
and shadow
files
../run/unshadow ~/tmp/passwd ~/tmp/shadow > ~/tmp/unshadow
use john with openMP on multiple cores
john --fork=8 ~/tmp/unshadow
query the results
john --show ~/tmp/unshadow
compile john with MPI support to run on clusters
sudo apt install libopenmpi-dev openmpi-bin wget https://github.com/openwall/john/archive/1.9.0-Jumbo-1.tar.gz tar xvf 1.9.0-Jumbo-1.tar.gz cd john-1.9.0-Jumbo-1/src ./configure --enable-mpi make -s clean && make -sj4
now run it :)
mpirun -np 8 -host localhost,localhost,localhost,localhost,localhost,localhost,localhost,localhost ../run/john ~/tmp/unshadow
to check the progress run
kill -USR1 $(pidof mpirun)