
Hashcat 高级密码回收工具的 MCP 服务器
概览
Hashcat-MCP是"模型上下文协议"(MCP)的服务器执行,旨在用Hashcat的强大能力来连接大型语言模型,这是一个被广泛使用的密码回收和hash-cracking工具. Hashcat-MCP通过一个结构化的,机器可读的接口来曝光Hashcat的功能,使得AI系统能够安全地被引用,控制并自动化复杂的破解工作流程. 使用Hashcat-MCP,语言模型可以执行诸如识别散列类型,配置攻击模式(词典,野蛮武力,混合攻击和基于规则的攻击),管理单词列表和口罩,以及实时监测破解进度等任务. 这种整合使安全审计、渗透测试和法证分析过程能够更有效、更了解情况地自动化.
概述(AI 翻译)
** 作者:Anil Parashar(技术芯片)** YouTube: @techchipnet ***网站:**技术chip.net
Hashcat-MCP是"模型上下文协议"(MCP)的服务器执行,旨在用Hashcat的强大能力来连接大型语言模型,这是一个被广泛使用的密码回收和hash-cracking工具. Hashcat-MCP通过一个结构化的,机器可读的接口来曝光Hashcat的功能,使得AI系统能够安全地被引用,控制并自动化复杂的破解工作流程.
使用Hashcat-MCP,语言模型可以执行诸如识别散列类型,配置攻击模式(词典,野蛮武力,混合攻击和基于规则的攻击),管理单词列表和口罩,以及实时监测破解进度等任务. 这种整合使安全审计、渗透测试和法证分析过程能够更有效、更了解情况地自动化。
该系统对网络安全专业人士,研究人员,开发者特别有用,他们想将智能自动化纳入密码回收任务,同时保持对执行参数的精细控制.
本页由 AI 翻译,技术细节请以原文为准。
README
以下为原文 README 节选,完整内容请查看原文。
Hashcat MCP Server
Developed By: Anil Parashar (TechChip)
YouTube: @techchipnet | Website: techchip.net
Hashcat-MCP is a server implementation of the Model Context Protocol (MCP) designed to bridge large language models with the powerful capabilities of Hashcat, a widely used password recovery and hash-cracking tool. By exposing Hashcat’s functionality through a structured, machine-readable interface, Hashcat-MCP allows AI systems to securely invoke, control, and automate complex cracking workflows.
With Hashcat-MCP, language models can perform tasks such as identifying hash types, configuring attack modes (dictionary, brute-force, hybrid, and rule-based attacks), managing wordlists and masks, and monitoring cracking progress in real time. This integration enables more efficient, context-aware automation of security auditing, penetration testing, and forensic analysis processes.
The system is particularly useful for cybersecurity professionals, researchers, and developers who want to incorporate intelligent automation into password recovery tasks, while maintaining fine-grained control over execution parameters. By combining the reasoning capabilities of large language models with Hashcat’s high-performance computation, Hashcat-MCP streamlines workflows that would otherwise require significant manual setup and expertise.
Prerequisites
| Requirement | Details |
|---|---|
| Python | 3.10+ |
| hashcat | Must be installed and in $PATH |
| OS | Linux/Windows/macOS |
Available Tools
| Tool | Description |
|---|---|
identify_hash |
Built-in tool to identify hash types and suggest hashcat -m mode |
dictionary_attack |
Wordlist/dictionary attack against hashes (-a 0) |
combination_attack |
Combine words from two wordlists (-a 1) |
bruteforce_attack |
Brute-force using mask patterns (-a 3) |
hybrid_wordlist_mask |
Wordlist + mask (-a 6) |
hybrid_mask_wordlist |
Mask + wordlist (-a 7) |
rule_attack |
Dictionary + rule file for word mutations (-a 0 -r) |
restore_session |
Resume a paused/interrupted session (--restore) |
show_cracked |
Show already-cracked hashes (--show) |
show_uncracked |
Show remaining uncracked hashes (--left) |
benchmark |
Benchmark hash speed (-b) |
list_devices |
List OpenCL/CUDA devices (-I) |
check_hashcat |
Verify hashcat version |
verify_hash_file |
Validate hash file format & count hashes |
extract_hashes |
Extract hashes from common file formats |
list_hash_modes |
Search supported hash modes |
potfile_lookup |
Search potfile for specific hashes |
generate_mask |
Generate mask pattern suggestions |
Usage
Run the server directly
python3 hashcatmcp.py
The server reads JSON-RPC 2.0 messages from stdin and writes responses to stdout.
MCP Client Configuration
安装
This server does not publish a one-line install command.
Open the repository installation guide 新手?先看 mcpskill.org 教程 →配置
{
"mcpServers": {
"hashcat": {
"command": "python3",
"args": [
"/absolute/path/to/hashcat-mcp/hashcatmcp.py"
]
}
}
}