Skip to content

Bd-Mutant7/Password-Analyzer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

469 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

🔐 Password Strength Analyzer with Security Simulation

A comprehensive client-side password analysis tool that demonstrates how attackers identify and exploit weak passwords - for defensive security education only.

Live Demo: View on GitHub Pages

📋 Table of Contents

⚠️ Important Disclaimer

✨ Features

🚀 Live Demo

🛠️ Technical Details

📁 Project Structure

🎯 How to Use

🔒 Privacy & Security

🎓 Educational Value

🐛 Troubleshooting

📄 License

⚠️ Important Disclaimer

This tool operates entirely in your browser. No passwords are transmitted, stored, or shared. This application exists solely for defensive security education to help users understand password vulnerabilities and create stronger passwords.

⚠️ WARNING: Use responsibly and only for educational purposes on passwords you own.

✨ Features

🔍 Password Strength Analysis Real-time strength scoring (0-100 scale)

Entropy calculation (bits of randomness)

Character composition analysis

Pattern detection (keyboard patterns, repetitions, leetspeak)

Defensive recommendations with specific improvements

🛡️ Attack Simulation (Educational Only)

Dictionary Attack: Tests against 10,000+ common passwords

Brute Force: Systematic character-by-character guessing

Hybrid Attack: Dictionary words with character substitutions

Visual progress indicators with estimated cracking times

Real-time attack simulation with visual feedback

📚 Security Education

How attackers crack passwords - detailed methodologies

Password creation best practices - do's and don'ts

Additional security measures - 2FA, password managers, breach monitoring

Interactive examples - test common password patterns

🎨 User Interface

Tab-based navigation (Analyzer, Simulation, Education)

Real-time visual feedback with color-coded strength meters

Interactive progress bars for attack simulations

Responsive design works on desktop and mobile

Dark theme with gradient backgrounds

🚀 Live Demo

Access the tool directly: 👉 https://bd-mutant7.github.io/Password-Analyzer/

🛠️ Technical Details

Client-Side Architecture No server-side processing - everything runs in your browser

No data transmission - passwords never leave your device

No storage - no passwords are saved or logged

No external dependencies - completely self-contained HTML/CSS/JS

Technologies Used

HTML5 - Semantic structure and accessibility

CSS3 - Modern gradients, flexbox, grid, animations

Vanilla JavaScript - No frameworks, pure ES6+

GitHub Pages - Static hosting with automatic SSL

Security Features

✅ Zero data collection - completely anonymous

✅ No tracking - no analytics, no cookies

✅ Local execution only - runs entirely in browser sandbox

✅ Open source - fully transparent codebase

📁 Project Structure

text Password-Analyzer/ ├── index.html # Main application (required) ├── 404.html # GitHub Pages redirect fix ├── README.md # This documentation ├── .nojekyll # Disables Jekyll processing └── assets/ # (Optional) For future images/icons ├── screenshot1.png └── screenshot2.png

Run Locally

bash

Clone the repository

git clone https://Bd-Mutant7.github.io/Password-Analyzer.git

Open directly in browser (no server needed)

open index.html # Mac start index.html # Windows xdg-open index.html # Linux

Single File Download Download index.html

Double-click to open in any browser

That's it! No installation needed

🎯 How to Use

  1. Password Analysis Tab text
  2. Enter any password in the input field
  3. Click "Analyze Password"
  4. View:
    • Strength score (0-100)
    • Entropy measurement
    • Character composition
    • Detected vulnerabilities
    • Improvement recommendations
  5. Attack Simulation Tab text
  6. Enter a password to test
  7. Click "Run Attack Simulation"
  8. Watch three attack methods:
    • Dictionary (checks common passwords)
    • Hybrid (dictionary + variations)
    • Brute Force (systematic guessing)
  9. See estimated cracking time
  10. Security Education Tab text • Learn about different attack methodologies • Discover password creation best practices • Understand additional security layers • Get defensive security tips Test Examples (Try These!) Password Expected Strength Description password123 Very Weak Common password with numbers Tr0ub4dour&3 Moderate Complex but predictable CorrectHorseBatteryStaple Strong Long passphrase X&$9pL2@qF!n Very Strong Random characters

🔒 Privacy & Security

What We DON'T Do ❌ Never transmit passwords over network

❌ Never store passwords in any form

❌ Never use analytics or tracking

❌ Never require internet connection

❌ Never use third-party scripts

❌ Never set cookies for passwords

What We DO

✅ Run 100% in browser sandbox

✅ Use only client-side JavaScript

✅ Provide educational insights

✅ Help improve security awareness

✅ Offer defensive recommendations

🎓 Educational Value

This tool teaches:

For Individuals Why password length matters more than complexity

How attackers use dictionary and brute force attacks

The danger of password reuse

How to create memorable but secure passphrases

When to use password managers

For Organizations Password policy best practices

Importance of hashing algorithms

Rate limiting and account lockout strategies

Multi-factor authentication benefits

Security awareness training resources

For Developers How to implement secure password storage

Common authentication vulnerabilities

Client-side vs server-side validation

Security headers and best practices

🐛 Troubleshooting

Common Issues Issue Solution GitHub shows README instead of app The 404.html file automatically redirects to index.html Blank page on GitHub Pages Clear cache (Ctrl+F5) or wait 2 minutes for deployment JavaScript not working Enable JavaScript in browser settings Styles not loading Check browser console for CSP errors Mobile display issues Rotate device or use desktop mode GitHub Pages Specific yaml

🤝 Contributing

Contributions are welcome! Please follow these guidelines:

Fork the repository

Create a feature branch (git checkout -b feature/improvement)

Commit changes (git commit -m 'Add some feature')

Push to branch (git push origin feature/improvement)

Open a Pull Request

Contribution Guidelines Maintain client-side only architecture

Preserve privacy/security guarantees

Keep educational focus

Test thoroughly before submitting

Update documentation as needed

📄 License

This project is for educational purposes only. All code is provided as-is for defensive security education.

Usage Terms

✅ Use for personal security education

✅ Use for classroom/workshop demonstrations

✅ Use for security awareness training

✅ Modify for personal/educational use

❌ Do not use for malicious purposes

❌ Do not use to attack systems you don't own

❌ Do not redistribute as your own without attribution

❌ Do not use in commercial products without modification

Attribution

If you use this tool in presentations or training, please credit: "Password Strength Analyzer with Security Simulation - Defensive Security Education Tool"

🔗 Useful Links

OWASP Password Storage Cheat Sheet

NIST Digital Identity Guidelines

Have I Been Pwned?

KeePass Password Manager

🌟 Star History

https://api.star-history.com/svg?repos=bd-mutant7/Password-Analyzer&type=Date

About

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages