[ Index ]

PHP Cross Reference of Phabricator

title

Body

[close]

/src/applications/auth/constants/ -> PhabricatorCommonPasswords.php (summary)

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

Defines 2 functions

  isCommonPassword()
  loadWordlist()

Functions
Functions that are not part of a class:

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