Scroll to navigation

PWNDCK(1) General Commands Manual PWNDCK(1)

NAME

pwndck - Check passwords against the HaveIBeenPwned leak database

DESCRIPTION

usage: pwndck [-h] [-q] [[-i [INPUT]] | [passwords ...] | [--version]]

Report # of password hits in HaveIBeenPwned

positional arguments:

The password(s) to check

options:

show this help message and exit
suppress output
file containing passwords, one per line ('-' for stdin)
estimate the current size of the HaveIBeenPwnd password database
show program's version number and exit

Evaluate one or more passwords against the HaveIBeenPwned password database, and return the number of accounts for which they have been reported as compromised.

The number of entries found in the database is returned. If multiple passwords are being checked, the password name is also returned.

If the password is not specified on the command line, and there is no std input, the user will be prompted.

The command returns with an error code if a password is found in the database.

The process_pw() function is available for use in Python. It can be accessed by importing it from the pwndck module.

See https://haveibeenpwned.com/API/v3#PwnedPasswords

February 2026