Now liveThe Skillselion MCP - thousands of ranked skills, loaded into your agent mid-task. No install.Get it →
wgpsec avatar

Hashcat Crack

  • 27 installs
  • 1.6k repo stars
  • Updated July 19, 2026
  • wgpsec/aboutsecurity

Helps with ai & agent building tasks during AI-assisted development.

About

hashcat-crack is a Claude Code skill for ai & agent building. It helps solo builders move faster with AI-assisted coding.

  • hashcat-crack
  • AI & Agent Building
  • AI-coding skill

Hashcat Crack by the numbers

  • 27 all-time installs (skills.sh)
  • +2 installs in the week ending Jul 27, 2026 (Skillselion tracking)
  • Ranked #9,560 of 16,546 AI & Agent Building skills by installs in the Skillselion catalog
  • Data as of Aug 5, 2026 (Skillselion catalog sync)
npx skills add https://github.com/wgpsec/aboutsecurity --skill hashcat-crack

Add your badge

Show developers this skill is listed on Skillselion. Paste this into your README.

Listed on Skillselion
Installs27
repo stars1.6k
Last updatedJuly 19, 2026
Repositorywgpsec/aboutsecurity

What it does

Helps with ai & agent building tasks during AI-assisted development.

Files

SKILL.mdMarkdownGitHub ↗

hashcat 密码哈希离线破解

hashcat 利用 GPU 加速哈希破解,速度远超 CPU。核心工作流:识别哈希类型 → 选择攻击模式 → 喂字典/规则/掩码

哈希类型识别(-m 参数)

哈希类型-m 值来源
NTLM1000hashdump / secretsdump
NetNTLMv15500Responder 抓包(旧系统/降级攻击)
NetNTLMv25600Responder / ntlmrelayx 抓包
Kerberos TGS (Kerberoast)13100GetUserSPNs.py
Kerberos AS-REP18200GetNPUsers.py
MD50Web 数据库泄露
SHA-2561400
Raw SHA-5121700128 字符十六进制摘要
sha512crypt ($6$)1800Linux /etc/shadow
bcrypt3200Web 应用
DCC2 (Domain Cached Credentials 2)2100secretsdump 域缓存凭据
WPA-PBKDF222000WiFi 握手包

攻击模式

字典攻击(最常用)

# 基本字典攻击
hashcat -m 1000 hashes.txt /usr/share/wordlists/rockyou.txt

# 加规则(变形字典,如 password → Password1!)
hashcat -m 1000 hashes.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule

# 常用规则文件
# best64.rule — 64 条高效规则,速度和效果平衡
# rockyou-30000.rule — 大规则集,覆盖更多变形
# OneRuleToRuleThemAll.rule — 社区最强规则集

掩码攻击(已知密码模式)

# 8 位纯数字
hashcat -m 1000 hashes.txt -a 3 ?d?d?d?d?d?d?d?d

# 首字母大写 + 6 位小写 + 1 位数字(如 Password1)
hashcat -m 1000 hashes.txt -a 3 ?u?l?l?l?l?l?l?d

# 掩码字符集:?l=小写 ?u=大写 ?d=数字 ?s=特殊 ?a=全部

组合攻击

# 两个字典组合(word1+word2)
hashcat -m 1000 hashes.txt -a 1 dict1.txt dict2.txt

实战场景

Kerberoast 破解

# GetUserSPNs.py 输出 → hashcat
GetUserSPNs.py domain/user:pass -dc-ip DC_IP -request -outputfile tgs.txt
hashcat -m 13100 tgs.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule

AS-REP Roasting 破解

GetNPUsers.py domain/ -usersfile users.txt -no-pass -dc-ip DC_IP -outputfile asrep.txt
hashcat -m 18200 asrep.txt /usr/share/wordlists/rockyou.txt

NTLM 哈希破解(hashdump/secretsdump)

# secretsdump 输出格式:user:RID:LM:NTLM:::
# 提取 NTLM 部分
cat secretsdump.txt | awk -F: '{print $4}' | sort -u > ntlm.txt
hashcat -m 1000 ntlm.txt /usr/share/wordlists/rockyou.txt -r /usr/share/hashcat/rules/best64.rule

NetNTLMv2 破解(Responder 抓取)

hashcat -m 5600 responder_hashes.txt /usr/share/wordlists/rockyou.txt

实用参数

# 查看已破解结果
hashcat -m 1000 hashes.txt --show

# 继续中断的任务
hashcat -m 1000 hashes.txt --restore

# 只跑 GPU(不用 CPU)
hashcat -m 1000 hashes.txt -D 2

# 设置工作负载(1=低 2=默认 3=高 4=极限)
hashcat -m 1000 hashes.txt -w 3

# 内核优化(截断密码长度换速度,多数场景够用)
hashcat -m 1000 hashes.txt -O

# 输出到文件
hashcat -m 1000 hashes.txt wordlist.txt -o cracked.txt

决策树

拿到哈希后:
├─ 知道哈希类型 → 直接 hashcat -m 值
├─ 不确定类型 → hashcat --identify hashes.txt 或 hashid
├─ 有 GPU → hashcat(首选)
├─ 无 GPU / CPU 环境 → john the ripper
└─ 在线查询 → hashes.org / crackstation.net(先试再跑)

Related skills

This week in AI coding

Five minutes, every Monday - the tools, releases and tactics for developers.

unsubscribe anytime.