Shadow
If we have read access to shadow file and passwd we can use the following method to gain password hash and crack it using hashcat.
Use the following tool to convert both files into a crackable form.
Now remove the unwanted content and keep the users hashes like this.
Now we'll use hashcat with mode 1800 for "SHA512crypt $6$, SHA512 (Unix)" hash.
Last updated