https://github.com/sameera-madushan/pwned
Simple CLI script to check if you have a password that has been compromised in a data breach.
https://github.com/sameera-madushan/pwned
hacked hacked-passwords haveibeenpwned passwords pwnedornot pwnedpasswords python
Last synced: 6 months ago
JSON representation
Simple CLI script to check if you have a password that has been compromised in a data breach.
- Host: GitHub
- URL: https://github.com/sameera-madushan/pwned
- Owner: sameera-madushan
- License: mit
- Created: 2020-04-07T10:49:58.000Z (over 5 years ago)
- Default Branch: master
- Last Pushed: 2024-10-29T18:10:39.000Z (12 months ago)
- Last Synced: 2025-03-24T10:53:39.773Z (7 months ago)
- Topics: hacked, hacked-passwords, haveibeenpwned, passwords, pwnedornot, pwnedpasswords, python
- Language: Python
- Size: 19.5 KB
- Stars: 54
- Watchers: 3
- Forks: 12
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
# Pwned - Check Your Passwords
Pwned is a simple command-line python script to check if you have a password that has been compromised in a data breach. This script uses [haveibeenpwned](https://haveibeenpwned.com/API/v3) API to check whether your passwords were leaked during one of the many breaches of online services.
This API uses [k-Anonymity model](https://en.wikipedia.org/wiki/K-anonymity) that allows a password to be searched for by partial hash in order to anonymously verify if a password was leaked without disclosing the searched password.
You cn read the medium article that i wrote about this from [here.](https://medium.com/@sameeramadushan/your-password-has-likely-been-stolen-heres-how-to-check-ddc2de86ab8c?source=friends_link&sk=e2467b4903b4916ebb1d6a6f8fdd4f9c)
![]()
## How pwned script works
![]()
## Git Installation
```
# clone the repo
$ git clone https://github.com/sameera-madushan/Pwned.git# change the working directory to Pwned
$ cd Pwned# install the requirements
$ pip3 install -r requirements.txt
```## Usage
```
python pwned.py -p
```