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
- Host: GitHub
- URL: https://github.com/morphy2k/pwned-check
- Owner: morphy2k
- License: mit
- Created: 2017-08-05T01:24:36.000Z (almost 9 years ago)
- Default Branch: master
- Last Pushed: 2023-09-05T04:59:29.000Z (almost 3 years ago)
- Last Synced: 2025-01-29T05:16:08.603Z (over 1 year ago)
- Topics: check, cli, go, hash, haveibeenpwned, password, pwned, security
- Language: Go
- Homepage:
- Size: 778 KB
- Stars: 1
- Watchers: 2
- Forks: 0
- Open Issues: 1
-
Metadata Files:
- Readme: README.md
- License: LICENSE
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
```