bigpick/auto-hashcat-benchmark

GitHub: bigpick/auto-hashcat-benchmark

基于Vast.ai云GPU的Hashcat自动化基准测试平台,通过标准化Docker环境生成可横向对比的GPU哈希破解速度数据,并提供交互式Web仪表盘。

Stars: 1 | Forks: 0

# ⚡ Hashcat GPU 基准测试 **针对 [hashcat](https://github.com/hashcat/hashcat) 的同等条件 GPU 速度基准测试** [![构建](https://img.shields.io/github/actions/workflow/status/bigpick/auto-hashcat-benchmark/deploy.yml?branch=main&style=flat-square&label=build)](https://github.com/bigpick/auto-hashcat-benchmark/actions) [![Python](https://img.shields.io/badge/python-3.12+-3776ab?style=flat-square&logo=python&logoColor=white)](https://www.python.org/) [![Svelte](https://img.shields.io/badge/svelte-5-ff3e00?style=flat-square&logo=svelte&logoColor=white)](https://svelte.dev/) [![GPUs](https://img.shields.io/badge/GPUs-14-f59e0b?style=flat-square)]() [![Vast.ai](https://img.shields.io/badge/powered%20by-vast.ai-6366f1?style=flat-square)](https://vast.ai) [**实时仪表盘**](https://bigpick.github.io/auto-hashcat-benchmark) · [开发指南](DEVELOPMENT.md) · [申请 GPU](https://github.com/bigpick/auto-hashcat-benchmark/issues/new)
## 存在的问题 Hashcat 的基准测试结果散落各处——代码片段、论坛帖子、各种 Wiki 页面。而且每一个使用的 hashcat 版本、驱动程序和操作系统都不尽相同。想要在这些环境之间比较 GPU 性能完全只能靠猜。 本项目在同一个 Docker 容器内(相同的 hashcat 构建版本、相同的 CUDA 工具包、相同的操作系统)运行所有基准测试,确保唯一的变量只有 GPU。测试结果会上传到一个支持过滤的 Web 仪表盘,在那里你可以按 hash 模式排序、横向对比 GPU,以及导出数据。 ## 工作原理 ``` ┌─── Your machine ──────────────────────────────────────────┐ │ just bench rtx-4090 v6.2.6 │ │ → Search Vast.ai for cheapest RTX 4090 │ │ → Rent instance, run Docker container │ │ → Collect JSON results, destroy instance │ │ → Save to data/results/v6.2.6/rtx-4090.json │ └───────────────────────────────────────────────────────────┘ │ git push ▼ ┌─── GitHub Actions ────────────────────────────────────────┐ │ Build index.json → Build Svelte site → Deploy to Pages │ └───────────────────────────────────────────────────────────┘ ``` 编排器在租用任何资源之前会检查是否存在现有结果。如果针对该 hashcat 版本 + GPU + kernel 模式的结果已经存在,它就会跳过。 ## 快速开始 ``` just setup # install everything just list-gpus # check GPU availability and prices just estimate-matrix v6.2.6 # cost estimate (no money spent) just bench rtx-4090 v6.2.6 # run one benchmark just dev # preview the dashboard locally ``` 完整的设置演练请参阅 [DEVELOPMENT.md](DEVELOPMENT.md)。 ## GPU 覆盖范围 | 系列 | 型号 | |--------|--------| | **RTX 50** (Blackwell) | 5090, 5080, 5070 Ti, 5070 | | **RTX 40** (Ada Lovelace) | 4090, 4080, 4070 Ti, 4070, 4060 Ti, 4060 | | **RTX 30** (Ampere) | 3090, 3080, 3070, 3060 | 只要 Vast.ai 上有价格合理的资源,就可以加入 RTX 10/20 系列、AMD 以及数据中心 GPU(A100、H100)。请[提交一个 Issue](https://github.com/bigpick/auto-hashcat-benchmark/issues/new) 来提出申请。 ## 仪表盘 两种视图,共享同一个过滤栏。 **表格** - 每个 hash 模式为一行,选定的 GPU 为列。支持排序。速度以 GH/s 或 MH/s 显示,鼠标悬停时展示原始数值。即使有 300 多个 hash 模式也能顺畅运行。 **对比** - 选择一个 hash 模式,即可获得 GPU 速度的条形图。它会直接告诉你“RTX 4090 比 RTX 3080 快 2.0 倍”这样的信息,省去了你自己计算的麻烦。 你可以按 hashcat 版本进行过滤、开关不同的 GPU、按名称或编号搜索 hash 模式,还可以将当前查看的内容导出为 CSV 或 JSON。
技术栈
Python 3.12+ ([uv](https://docs.astral.sh/uv/)) · [Vast.ai](https://vast.ai) SDK · Docker on nvidia/cuda · Svelte 5 + Vite + Chart.js · [Just](https://github.com/casey/just) · GitHub Actions · GitHub Pages
安全性
所有密钥均存放在环境变量中,绝不会出现在源代码里。[ripsecrets](https://github.com/sirwart/ripsecrets) 的 pre-commit 钩子会阻止包含类似密钥或 token 内容的提交。`.env` 文件已被 gitignore 忽略——请参阅 `.env.example` 了解你需要设置的内容。
## 许可证 待定
标签:Bitdefender, CUDA, DFIR, DNS解析, Docker, DOS头擦除, GPU基准测试, Hashcat, JSON, meg, Python, SBOM分析, Svelte, Svelte 5, vast.ai, Vectored Exception Handling, 仪表盘, 信息安全, 哈希计算, 基准评测, 安全防御评估, 密码破解, 开源项目, 异构计算, 性能对比, 数据展示, 无后门, 深度学习, 算力租赁, 红队, 网络安全, 请求拦截, 逆向工具, 隐私保护