一款纯客户端的密码强度分析网页应用,能实时分析密码长度、复杂度、熵、字典攻击检测和破解时间。

Stars

16

7 天增长

暂无数据

Fork 数

0

开放 Issue

0

开源协议

暂无数据

最近更新

2026-07-09

AI 仓库情报摘要
FR-AI / ANALYSIS

为什么值得关注

所有分析在浏览器内完成,不发送任何数据到服务器,兼顾隐私保护与教育意义,并提供即时视觉反馈。

适合谁使用

  • 学习密码安全知识的开发者
  • 完成网络安全课程作业的学生
  • 想要本地检查自己密码的普通用户
  • 评估密码强度指标的安全爱好者

典型使用场景

  • 教育工具,帮助理解密码强度各组成部分
  • 在注册新服务前快速检查个人密码
  • 在网页开发课程中演示实时分析功能
  • 通过自定义集成到注册表单中作为客户端验证器

项目优势

  • 输入即更新,实时分析并伴有流畅动画
  • 包含香农熵、字符集、字典攻击检测和破解时间估算
  • 100%本地处理——无网络请求、无数据存储、可离线运行
  • 响应式设计,适配桌面、平板和手机

使用前须知

  • 字典仅收录100多个常见密码,可能漏掉某些弱变体
  • 破解时间估算基于固定的每秒10亿次尝试,对现代硬件或GPU攻击不够准确
  • 无服务器端组件,无法用于跨账户的密码策略强制

README 快速开始

🔐 Password Strength Analyzer - Web Version

A beautiful, modern web-based password strength analyzer with real-time analysis as you type!

🌐 Web Interface Features

✨ Real-Time Analysis

  • Instant feedback as you type each character
  • Smooth animations and transitions
  • Visual progress bar (0-100 score)
  • Color-coded status indicators
  • Show/Hide password toggle
  • Responsive design - works on all devices

📊 Analysis Metrics

1. Overall Score (0-100)

  • Visual progress bar with gradient colors
  • Status: Very Weak → Weak → Moderate → Strong → Very Strong

2. Length Analysis

  • Real-time length checking
  • Recommendations for stronger passwords

3. Complexity Analysis

  • Live indicators for character types:
    • ✓ Lowercase letters
    • ✓ Uppercase letters
    • ✓ Digits
    • ✓ Special characters
  • Instant suggestions for missing types

4. Entropy Analysis

  • Shannon Entropy calculation
  • Theoretical Entropy based on character pool
  • Character pool size display

5. Dictionary Attack Detection

  • Checks against 100+ common passwords
  • Detects simple variations
  • Identifies patterns (sequences, keyboard patterns, etc.)
  • Visual warnings for vulnerabilities

6. Crack Time Estimation

  • Estimates brute force attack time
  • Based on 1 billion attempts/second

🚀 How to Run

Option 1: Double-Click (Easiest)

  1. Navigate to the project folder
  2. Double-click index.html
  3. Opens in your default browser

Option 2: Right-Click

  1. Right-click on index.html
  2. Select "Open with" → Your preferred browser

Option 3: Using Python Server

# Navigate to project directory
cd "C:\Users\dell\Documents\projects\CS  assignment"

# Start a local server (Python 3)
python -m http.server 8000

# Open browser and go to:
# http://localhost:8000

Option 4: Using Live Server (VS Code)

  1. Install "Live Server" extension in VS Code
  2. Right-click index.html
  3. Select "Open with Live Server"

📁 Web Files Structure

CS assignment/
│
├── index.html          # Main HTML structure
├── styles.css          # Beautiful modern styling
├── script.js           # Real-time analysis logic
│
├── Python modules (optional):
├── entropy_calculator.py
├── dictionary_checker.py
├── analyzer.py
├── gui.py
└── main.py

🎨 Interface Sections

1. Header

  • Gradient title with modern design
  • Subtitle ex

相关仓库与替代方案

根据分类、Topic 和编程语言匹配的相似项目。

lopopolo
精选
lopopolo GitHub avatar

harness-engineering

Harness Engineering is a methodology for improving coding agent outputs by carefully crafting the environment around them—providing curated context, tools, and executable constraints that encode an organization’s nonfunctional requirements and cumulative lessons.

AI 与机器学习AI 智能体
2,390
slvDev
精选
slvDev GitHub avatar

esp32-ai

A 28.9 million parameter language model runs on an $8 ESP32-S3 microcontroller entirely on-device, generating simple stories at about 9.5 tokens per second.

AI 与机器学习大语言模型
1,960
littledivy
精选
littledivy GitHub avatar

mimic

mimic captures traffic from any iOS or web app and automatically generates a Python client library that lets you call the app's API like a regular library.

AI 与机器学习
1,482