Manual:createCommonPasswordCdb.php
Appearance
この機能は、バージョン MediaWiki 1.35 で完全に除去されました。 |
| MediaWiki バージョン: | 1.27 – 1.34 |
| MediaWiki ファイル: createCommonPasswordCdb.php | |
|---|---|
| 場所: | maintenance/ |
| ソース コード: | master • 1.45.1 • 1.44.3 • 1.43.6 |
| クラス: | CreateCommonPasswordCdb |
詳細
createCommonPasswordCdb.php file creates a common password CDB database. It takes a file like https://github.com/danielmiessler/SecLists/blob/master/Passwords/2020-200_most_used_passwords.txt?raw=true as an example.
オプション/引数
| オプション | 説明 | 必須かどうか |
|---|---|---|
| inputfile | List of passwords (one per line) to use or - for stdin | 必須 |
| output | Location to write CDB file to (Try $IP/includes/password/commonpasswords.cdb) | 必須 |
| --limit | Max number of passwords to write | 省略可能 |
使用法
php maintenance/createCommonPasswordCdb.php inputfile output [ --limit ]
Terminal
php maintenance/createCommonPasswordCdb.php 2020-200_most_used_passwords.txt commonpass.cdb Password '123456789' already written (line 50) Password '987654321' already written (line 124) Password '123456' already written (line 135) Successfully wrote 197 (out of 200) passwords to commonpass.cdb