简单说:不能(至少不能“恢复”明文密码)。
在 Ubuntu / Linux 里:
系统用户密码
/etc/shadowsha512crypt、yescrypt 等)strings 命令只能从二进制/文件中提取可打印字符串strings 看到的通常是类似:username:$6$salt$hashedvalue:...
strings 能做什么
如果你忘了 Ubuntu 密码 正确做法:
passwd 用户名
/etc/shadow✅ 结论:
strings 不能恢复 Ubuntu 密码,只能看到哈希或明文残留(如果有)。现代系统密码是不可逆哈希。
如果你是:
strings + 哈希识别你想做的是哪一种?