yahux/password_manager_yahux
GitHub: yahux/password_manager_yahux
一款基于 Python 的离线密码生成与泄露检测工具,通过 k-Anonymity 保护用户隐私。
Stars: 0 | Forks: 0
_____.___. .__ .___ __
\__ | |____ | |__ __ _____ ___ ___________ ______ ________ _ _____________ __| _/ ____ ____ ____ ________________ _/ |_ ___________
/ | \__ \ | | \| | \ \/ / \____ \__ \ / ___// ___/\ \/ \/ / _ \_ __ \/ __ | / ___\_/ __ \ / \_/ __ \_ __ \__ \\ __\/ _ \_ __ \
\____ |(____ /___| / | /> < | |_> (__ )_\___ \ \___ \ \ ( <_> ) | \/ /_/ | / /_/ > ___/| | \ ___/| | \// __ \| | ( <_> ) | \/
/ ______(____ / \/____//__/\_ \ | __(____ /____ >____ > \/\_/ \____/|__| \____ | \___ / \___ >___| /\___ >__| (____ /__| \____/|__|
\/ \/ \/ \/ |__| \/ \/ \/ \/ /_____/ \/ \/ \/ \/
A Python-based security tool that generates cryptographically secure passwords and checks them against the **Have I Been Pwned** database using **k-Anonymity**.
## 🚀 Features
- **Secure Generation:** Uses the `secrets` module for high-entropy randomness.
- **Privacy First:** Implements k-Anonymity; your password is never sent over the internet.
(🛡️ How k-Anonymity Works: This script hashes your password locally.
It only sends the first 5 characters of the SHA-1 hash to the API.
The API returns a list of matching suffixes, and the script identifies matches locally.
Your plain-text password and full hash never leave your machine.)
- **API Integration:** Connects to the Have I Been Pwned (HIBP) REST API.
## 🛠️ Windows Installation
1. Clone the repo:
git clone https://github.com/yahux/password_manager_yahux.git
*** Make sure you are in the script file directory ***
# 安装依赖项
This is very important for the script to work.
(** python -m pip install -r requirements.txt **)
if not working try (** py -m pip install -r requirements.txt **)
2. Run the code using:
Python password_manager_yahux.py
## 🛠️ Linux Installation (Ubuntu/Debian/Kali)
1. Clone the repo:
git clone (https://github.com/yahux/password_manager_yahux.git)
*** Make sure you are in the script file directory ***
cd password_manager_yahux
# 安装依赖项
This is very important for the script to work.
(** sudo apt install python3-pip **)
(** pip3 install -r requirements.txt **)
If you get a "Permissions" error, try: (** pip3 install -r requirements.txt --user **)
2. Run the code using:
Python password_manager_yahux.py
**linux chmod**
chmod +x password_manager_yahux.py && ./password_manager_yahux.py
标签:API哈希动态解析, API集成, Have I Been Pwned, k-Anonymity, Python安全工具, REST API, secrets模块, SHA-1, Windows安装, XML 请求, 可观测性, 安全开发, 密码安全, 密码生成器, 开源安全工具, 数据泄露检查, 本地哈希, 网络安全, 网络安全, 逆向工具, 逆向工程平台, 隐私保护, 隐私保护, 高熵密码