lenny044/pass-cracker

GitHub: lenny044/pass-cracker

Stars: 0 | Forks: 0

# Password Cracker & Hash Analyzer A Python-based password security tool that analyzes password strength, identifies hash types, checks passwords against breach databases, and performs dictionary and brute force attacks for educational purposes. ## Real World Problem it Solves Weak and reused passwords are the #1 cause of account breaches. This tool demonstrates exactly why strong passwords matter — by showing how quickly weak ones get cracked. ## Features - Password strength analyzer with improvement suggestions - Hash generator (MD5, SHA1, SHA256, SHA512) - Hash type identifier - HaveIBeenPwned API integration — checks if password appeared in real data breaches - Dictionary attack using wordlists - Brute force attack with configurable charset and length ## Tech Stack - Python 3.11 - hashlib (built-in) — hash generation - itertools (built-in) — brute force combinations - requests — HaveIBeenPwned API calls - colorama — colored terminal output - argparse (built-in) — CLI interface ## Installation git clone https://github.com/lenny044/password-cracker.git cd password-cracker python -m venv venv venv\Scripts\activate pip install -r requirements.txt ## Usage # Analyze password strength + check breaches python cracker.py analyze MyPassword123! # Generate hash python cracker.py generate mypassword -a sha256 # Identify hash type python cracker.py identify 482c811da5d5b4bc6d497ffa98491e38 # Dictionary attack python cracker.py dict wordlist.txt -a md5 # Brute force attack python cracker.py brute -a md5 -l 4 -c lowercase ## Demo Results - `password123` — found in **2,254,650 data breaches** - 3-character password — cracked in **0.00 seconds** - 5-character password — cracked in **12 seconds** - Dictionary attack — cracks common passwords instantly ## Ethical Notice This tool is for **educational purposes and authorized testing only**. Never use it against accounts or systems you don't own.