Brute-force, Cracking, John the Ripper

Crack linux passwords – Bruteforce

> Open your kali distribution where john the ripper is already installed.
> Assuming you have a copy of a passwd file and a copy of a shadow file.
> Unshadow files:

/usr/sbin/unshadow /path/to/file/passwd /path/to/file/shadow > /tmp/passwords2crack

> Crack passwords with john by bruteforcing them.

john /tmp/passwords2crack --show

or

john /tmp/passwords2crack --wordlist=/path/to/passwords.lst