Manual:CreateCommonPasswordCdb.php/ja

詳細
createCommonPasswordCdb.php file creates a common password CDB database. It takes a file like https://github.com/danielmiessler/SecLists/blob/master/Passwords/rockyou.txt?raw=true as an example.

オプション
9cd8d3e2d7ef 時点:

Generate CDB file of common passwords

Usage: php createCommonPasswordCdb.php [--conf|--dbgroupdefault|--dbpass|--dbuser|--globals|--help|--limit|--memory-limit|--mwdebug|--profiler|--quiet|--server|--wiki]

Generic maintenance parameters: --help (-h): Display this help message --quiet (-q): Whether to suppress non-error output --conf: Location of LocalSettings.php, if not default --wiki: For specifying the wiki ID   --globals: Output globals at the end of processing for debugging --memory-limit: Set a specific memory limit for the script, "max" for no limit or "default" to avoid changing it   --server: The protocol and server name to use in URLs, e.g.        https://en.wikipedia.org. This is sometimes necessary because server name detection may fail in command line scripts. --profiler: Profiler output format (usually "text") --mwdebug: Enable built-in MediaWiki development settings

Script dependant parameters: --dbuser: The DB user to use for this script --dbpass: The password to use for this script --dbgroupdefault: The default DB group to use.

Script specific parameters: --limit (-l): Max number of passwords to write

Arguments: : List of passwords (one per line) to use or - for stdin : Location to write CDB file to (Try       /$SERVERPATH/includes/password/commonpasswords.cdb)