Repository navigation
Insecure Password Catalog
KeyAnyWhere ships with a catalog of almost a million passwords that appeared in data leaks and are used by many people. Because they are so common, they are the first ones an attacker tries. When someone saves an entry with one of them, KeyAnyWhere warns that the password is insecure. This page loads the catalog into the database.
Source of the data: SecLists, Common Credentials.
The tables must exist, as in Database Setup. Loading the catalog is the heaviest task of the installation: on a very small server, give it 2 CPUs and 1 GB of RAM just for this step (see Requirements).
The catalog is split into four seed files in config/Seeds/. This single command loads all four, in order; it takes a few minutes.
sudo -u www-data kaw-cake seeds run PasswordsInsecurePt1Seed,PasswordsInsecurePt2Seed,PasswordsInsecurePt3Seed,PasswordsInsecurePt4SeedKeyAnyWhere records which seeds already ran, so running the command again skips them. Never add --force: it would insert the same passwords a second time.
Count the rows in the catalog:
psql "host=127.0.0.1 dbname=keyanywhere user=kaw" -c 'SELECT count(*) FROM insecure_passwords;'The count is close to one million.
Source code · Issues · Releases · Packagist · Online demo · Hosted edition
1. Getting started
2. Installing in production
- Overview
- Preparing the Server
- Installing KeyAnyWhere
- File Permissions
- Generating Security Keys
- Environment Variables
- Configuration Files
- Database Setup
- Insecure Password Catalog
- Web Server and HTTPS
- First-Run Setup
3. Operating your installation
4. Using KeyAnyWhere
5. Security
6. Development
7. Extending