All Projects → jamesridgway → pwnedpasswords.sh

jamesridgway / pwnedpasswords.sh

Licence: MIT license
A bash script for searching Troy Hunt's pwnedpasswords

Programming Languages

shell
77523 projects
Makefile
30231 projects

Projects that are alternatives of or similar to pwnedpasswords.sh

Pwned
Simple CLI script to check if you have a password that has been compromised in a data breach.
Stars: ✭ 47 (+147.37%)
Mutual labels:  pwnedpasswords
pywnedpasswords
Checkt pwnedpasswords.com in a secure way
Stars: ✭ 22 (+15.79%)
Mutual labels:  pwnedpasswords
pwnedpasswords
A wrapper for PwnedPasswords API by Troy Hunt (haveibeenpwned.com).
Stars: ✭ 14 (-26.32%)
Mutual labels:  pwnedpasswords

pwnedpasswords.sh

Build Status

A simple bash script for searching Troy Hunt's pwnedpasswords API.

pwnedpasswords.sh

Usage

This is a simple bash script for searching Troy Hunt's pwnedpassword API using the k-anonymity algorithm

Usage

  ./pwnedpasswords.sh [options] PASSWORD

Options:

    -h, --help    Shows this message

Arguments:

        PASSWORD    Provide the password as the first argument or leave blank to provide via STDINT or prompt

Functionality

This is a very simple script that allows you to check if a password has been pwned. You can provide the password via one of the following options.

  • Provide a password as an argument:
    $ /pwnedpasswords.sh "P@ssw0rd"
    
  • Provide a password via stdin:
    $ echo "P@ssw0rd" | ./pwnedpasswords.sh
    
  • Provide a password via explicit prompt:
    $ ./pwnedpasswords.sh
    Enter password:
    This password has appeared 47205 times in data breaches.
    
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].