首页
学习
活动
专区
圈层
工具
发布
社区首页 >问答首页 >使用hashcat创建单词列表?

使用hashcat创建单词列表?
EN

Stack Overflow用户
提问于 2017-11-06 05:47:32
回答 2查看 10.3K关注 0票数 0

Hashcat不支持我试图破解的目标应用程序,但我想知道是否可以向掩码函数‘提供’密码列表,并通过rockyou规则进行解析,以便为我生成有效的词列表?

如果是这样的话,如何才能做到这一点,因为文档中还有很多需要改进的地方。好了!

非常感谢

EN

回答 2

Stack Overflow用户

发布于 2017-11-06 12:16:40

我使用了HashCatRulesEngine:

https://github.com/llamasoft/HashcatRulesEngine

您可以将所有HashCat规则链接在一起,然后联合选择它们,剔除任何重复的规则,并将您的示例密码文件作为输入。

然后,它生成所有可能的排列。

例如:

代码语言:javascript
复制
echo "password">foo

./hcre /Users/chris/Downloads/hashcat-4.0.0/rules/Incisive-leetspeak.rule /Users/chris/Downloads/hashcat-4.0.0/rules/InsidePro-HashManager.rule /Users/chris/Downloads/hashcat-4.0.0/rules/InsidePro-PasswordsPro.rule /Users/chris/Downloads/hashcat-4.0.0/rules/T0XlC-insert_00-99_1950-2050_toprules_0_F.rule /Users/chris/Downloads/hashcat-4.0.0/rules/T0XlC-insert_space_and_special_0_F.rule /Users/chris/Downloads/hashcat-4.0.0/rules/T0XlC-insert_top_100_passwords_1_G.rule /Users/chris/Downloads/hashcat-4.0.0/rules/T0XlC.rule /Users/chris/Downloads/hashcat-4.0.0/rules/T0XlCv1.rule /Users/chris/Downloads/hashcat-4.0.0/rules/best64.rule /Users/chris/Downloads/hashcat-4.0.0/rules/combinator.rule /Users/chris/Downloads/hashcat-4.0.0/rules/d3ad0ne.rule /Users/chris/Downloads/hashcat-4.0.0/rules/dive.rule /Users/chris/Downloads/hashcat-4.0.0/rules/generated.rule /Users/chris/Downloads/hashcat-4.0.0/rules/generated2.rule /Users/chris/Downloads/hashcat-4.0.0/rules/hybrid /Users/chris/Downloads/hashcat-4.0.0/rules/leetspeak.rule /Users/chris/Downloads/hashcat-4.0.0/rules/oscommerce.rule /Users/chris/Downloads/hashcat-4.0.0/rules/rockyou-30000.rule /Users/chris/Downloads/hashcat-4.0.0/rules/specific.rule /Users/chris/Downloads/hashcat-4.0.0/rules/toggles1.rule /Users/chris/Downloads/hashcat-4.0.0/rules/toggles2.rule /Users/chris/Downloads/hashcat-4.0.0/rules/toggles3.rule /Users/chris/Downloads/hashcat-4.0.0/rules/toggles4.rule /Users/chris/Downloads/hashcat-4.0.0/rules/toggles5.rule /Users/chris/Downloads/hashcat-4.0.0/rules/unix-ninja-leetspeak.rule < foo >passwordsx

1密码" password“这个词总共被置换了:

代码语言:javascript
复制
bash-3.2# wc -l passwordsx
  227235 passwordsx
bash-3.2# 

这意味着你输入的每个单词都会产生227235种可能的组合,大致给你提供了完整的覆盖范围。

票数 1
EN

Stack Overflow用户

发布于 2018-07-06 03:00:00

您可以通过添加--stdout开关将hashcat本身用作候选生成器(然后通过管道连接到您选择的文件或程序)。我还没有尝试所有的可能性,但它应该可以与任何支持的hashcat模式一起工作。

下面是一个使用规则集的示例:https://hashcat.net/wiki/doku.php?id=rule_based_attack#debugging_rules

票数 1
EN
页面原文内容由Stack Overflow提供。腾讯云小微IT领域专用引擎提供翻译支持
原文链接:

https://stackoverflow.com/questions/47126994

复制
相关文章

相似问题

领券
问题归档专栏文章快讯文章归档关键词归档开发者手册归档开发者手册 Section 归档