A tester has copies of /etc/passwd and /etc/shadow from an in-scope Linux server and wants to crack the local account passwords offline with John the Ripper. What should the tester do first?
Show the answer
Correct answerC. Merge the two files into one with the unshadow utility
AWhy not this: Hydra guesses passwords against live services. Hash entries are not usable as password lists.
BWhy not this: Salts are part of the hash scheme, and John uses them while cracking. Removing them breaks the hashes.
CWhy this is right: unshadow joins account details from passwd with hashes from shadow into the single file John cracks.
DWhy not this: ssh2john extracts hashes from SSH private keys. It does not process passwd or shadow files.
John expects usernames and hashes in one file, and the unshadow utility combines passwd and shadow into that format. The *2john extractors, such as ssh2john, handle other formats like SSH keys. Salts are part of the hash and are not removed.