We will now attempt to crack passwords using a pre-defined wordlist:
- Verify you have the shadow file copied in the root directory:
- Let's extract the rockyou password list:
- Let's use John the Ripper with the password file that we just extracted against the shadow file. You will note that we have some passwords that we recovered that appear like very simple passwords:
cd john --rules -w=/usr/share/wordlists/rockyou.txt shadow john --show shadow
John the Ripper ...