Skip to content

unshadow

unshadow - combines passwd and shadow files

Brute forcing /etc/passwd and /etc/shadow

First, save /etc/passwd and john /etc/shadow from the victim machine to the attacker machine.

Second, use unshadow to put users and passwords in the same file:

unshadow passwd shadow > crackme
# passwd: file saved with /etc/passwd content.
# shadow: file saved with /etc/shadow content.

Third, run johtheripper or hashcat to crack the hash.

Last update: 2023-07-15
Created: July 15, 2023 17:03:48