Manual:createCommonPasswordCdb.php

MediaWiki versions:
1.27 – 1.34


DetailsEdit

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.

Options/ArgumentsEdit

Option Description Required?
inputfile List of passwords (one per line) to use or - for stdin Required
output Location to write CDB file to (Try $IP/includes/password/commonpasswords.cdb) Required
--limit Max number of passwords to write Optional

UsageEdit

php maintenance/createCommonPasswordCdb.php inputfile output [ --limit ]


Terminal

See alsoEdit