An open API service indexing awesome lists of open source software.

https://github.com/morphy2k/pwned-check

It checks if your password have been pwned via haveibeenpwned.com
https://github.com/morphy2k/pwned-check

check cli go hash haveibeenpwned password pwned security

Last synced: about 1 year ago
JSON representation

It checks if your password have been pwned via haveibeenpwned.com

Awesome Lists containing this project

README

          

# pwned-check
Simple tool that checks if your password have been pwned via the [haveibeenpwned.com](https://haveibeenpwned.com) API.

It hashes your password locally and sends the first 5 characters ([k-anonymity](https://en.wikipedia.org/wiki/K-anonymity)) of the hash to the server. Afterwards, the list obtained from the server is locally searched for matches.

## Usage

```
Usage of pwned-check:
-hash
SHA1 hash as input
-p string
Password to check
```

### Examples
```BASH
pwned-check -p foobar
```
```BASH
pwned-check < password.txt
```
```BASH
echo -n "foobar" | sha1sum | cut -d " " -f1 | pwned-check -hash
```