破解shadow文件
/etc/shadow 文件,用于存储 Linux 系统中用户的密码信息,又称为“影子文件”。
┌──(kali㉿kali)-[~]
└─$ john shadow
Using default input encoding: UTF-8
Loaded 1 password hash (sha512crypt, crypt(3) $6$ [SHA512 128/128 AVX 2x])
Cost 1 (iteration count) is 5000 for all loaded hashes
Will run 4 OpenMP threads
Proceeding with single, rules:Single
Press 'q' or Ctrl-C to abort, almost any other key for status
Almost done: Processing the remaining buffered candidate passwords, if any.
Proceeding with wordlist:/usr/share/john/password.lst
hellokitty (root)
1g 0:00:00:02 DONE 2/3 (2025-12-03 14:03) 0.3533g/s 1871p/s 1871c/s 1871C/s ilovegod..karla
Use the "--show" option to display all of the cracked passwords reliably
Session completed.
┌──(kali㉿kali)-[~]
└─$ john --show shadow
root:hellokitty:17770:0:99999:7:::
1 password hash cracked, 0 left