Projects

pwnedCheck

Python script to verify if your password has been compromised in any known data breaches using the Have I Been Pwned API.

View on GitHub
#python#security#password#haveibeenpwned

Pwned Password Checker

This Python script helps you verify if your password has been compromised in any known data breaches, as well as check if it's a common password.

Features

  • Pwned Passwords Check: Verifies if your password has been compromised using the Have I Been Pwned API
  • Common Password Check: Alerts you if your password is a common and insecure one

How to Use

bash
git clone https://github.com/manuelsaraceni/pwnedCheck.git
python pwned_password_checker.py

Example Output

bash
Enter the password to check: 123456
WARNING: The password has been compromised!
The password '123456' is considered a common password and is not secure!

Script Details

1. check_password(password): Hashes the password using SHA-1 and checks against the Pwned Passwords API 2. check_common_password(password): Checks if the password is in a predefined list of common passwords 3. print_banner(): Displays a banner when the script is executed

This script does not store any data and does not share your passwords with any third parties.