Skip to content

Instantly share code, notes, and snippets.

@adriaandens
Created May 18, 2013 07:38
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save adriaandens/5603582 to your computer and use it in GitHub Desktop.
Save adriaandens/5603582 to your computer and use it in GitHub Desktop.
Script to install John the Ripper on Knoppix 3.6 (after installing open-MPI).
LD_LIBRARY_PATH=$LD_LIBRARY_PATH:/tmp/lib/openmpi:/tmp/lib
export LD_LIBRARY_PATH
wget "http://www.bindshell.net/tools/johntheripper/john-1.7.3.1-all-2-mpi8.tar.gz"
tar xzf john-1.7.3.1-all-2-mpi8.tar.gz
cd john-1.7.3.1-all-2-mpi8/src/
make clean linux-x86-any
cd ../run/
mpirun -np 4 ./john -test
echo "root:e80b5017098950fc58aad83c8c14978e" > md5.txt
./john -format=raw-md5 -incremental:alpha ./md5.txt
rm md5.txt
cd $KNOPPIX_HOME
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment