Although John the Ripper has been packaged for debian and ubuntu, it seems that as of August 2015 the packaged version doesn't actually work. Recent versions of these systems encrypt passwords using the sha512 hash function, but support for that hash function is only currently available through a user-supported version of the program. The symptom of this problem is the generic error message "No password hashes loaded." How do you get it to work?

Go to and find the URL of the latest community-enhanced version, which is in xz format.

tar xf john-1.8.0-jumbo-1.tar.xz
sudo apt-get install libssl-dev
cd john-1.8.0-jumbo-1/src && ./configure && make
cd ../run
sudo ./unshadow /etc/passwd /etc/shadow > ~bcrowell/mypasswd.txt
./john mypasswd.txt
rm mypasswd.txt
  • 1
    +1 useful info though this gave me a compilation error. I just went with apt-get install john instead for a trouble free install in case anyone else runs into this problem – Levon Oct 14 '17 at 13:36

Your Answer


By clicking "Post Your Answer", you acknowledge that you have read our updated terms of service, privacy policy and cookie policy, and that your continued use of the website is subject to these policies.

Not the answer you're looking for? Browse other questions tagged or ask your own question.