Checking Common Passwords
Checking Common Passwords
- public static function isCommonPassword($password) — Check if a password is extremely common.
- private static function loadWordlist() — Load the common password wordlist.
Check if a password is extremely common. Preventing use of the most common passwords is an attempt to mitigate slow botnet attacks against an entire userbase. See T4143 for discussion.
Check if a password is extremely common.
string | $password | Password to test. |
bool | True if the password is pathologically weak. |
Load the common password wordlist.
map<string, bool> | Map of common passwords. |