[ Index ] |
PHP Cross Reference of Phabricator |
[Source view] [Print] [Project Stats]
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.
File Size: | 70 lines (2 kb) |
Included or required: | 0 times |
Referenced: | 0 times |
Includes or requires: | 0 files |
isCommonPassword($password) X-Ref |
Check if a password is extremely common. param: string Password to test. return: bool True if the password is pathologically weak. |
loadWordlist() X-Ref |
Load the common password wordlist. return: map<string, bool> Map of common passwords. |
Generated: Sun Nov 30 09:20:46 2014 | Cross-referenced by PHPXref 0.7.1 |