← 返回命令列表

Linux command

pwdsafety 命令

文本

涉及管道、覆盖或删除,执行前请先确认路径和参数。

常用示例

Check a password from stdin

echo "[password]" | pwdsafety

说明

pwdsafety is a command-line tool that reads a password from standard input and evaluates its safety. The score combines several checks: whether the password (or its reverse) appears in a built-in dictionary of known weak passwords, the presence of uppercase letters, lowercase letters, digits, and symbols, the password length, and a Shannon-entropy calculation. The tool prints the numeric score along with explanations of which rules passed or failed. When the score is 68 or lower, pwdsafety also suggests a random, stronger password.

FAQ

What is the pwdsafety command used for?

pwdsafety is a command-line tool that reads a password from standard input and evaluates its safety. The score combines several checks: whether the password (or its reverse) appears in a built-in dictionary of known weak passwords, the presence of uppercase letters, lowercase letters, digits, and symbols, the password length, and a Shannon-entropy calculation. The tool prints the numeric score along with explanations of which rules passed or failed. When the score is 68 or lower, pwdsafety also suggests a random, stronger password.

How do I run a basic pwdsafety example?

Run `echo "[password]" | pwdsafety` in a terminal, then adjust file names, paths, flags, or remote targets for your system.