CTF Arsenal
DFIR / Command Mistakes & Recovery

John/Hashcat: 'No password hashes loaded' / wrong hash format

1. Error or symptom

A cracking tool refuses to load the hash file, or reports zero valid hashes.

2. Likely cause

Hash format wasn't auto-detected correctly, or the file contains extra whitespace/encoding artifacts from how it was extracted.

3. How to verify

cat -A hash.txt to look for hidden characters; compare against the exact expected format for that algorithm.

4. Correct command

john --format=FORMAT_NAME hash.txt   # specify format explicitly

5. Recovery procedure

Re-generate the hash cleanly (e.g. re-run the *2john script) rather than hand-editing it.

6. How to avoid repeating it

Never manually retype a hash — copy it exactly, and verify with cat -A for stray whitespace/newlines.