linux - 字典中的单词列表生成器

标签 linux unix sed grep

我见过像 crunch 这样很棒的单词列表生成器,但它们都是从头开始的,知道如何生成使用基本词典文件的单词列表,然后通过添加数字、大写字母等来推断这些单词吗?

我记得John the ripper有能力做到这一点,但只有在破解时,它才无法生成wordfiles。

示例:

[root@www ~]# cat test.txt 
John
Julia

输出:

[root@www ~]# cat testprocessed.txt 
John0001
John0002
John3553
juliA
Julia9857

以及尽可能多的排列..

谢谢:)

最佳答案

John 1.8.0 在我的系统上运行得很好:

$ cat test.txt
John
Julia

$ john --wordlist=test.txt --rules --stdout > testprocessed.txt
Press 'q' or Ctrl-C to abort, almost any other key for status
102p 0:00:00:00 100% 3400p/s Juliing

$ head testprocessed.txt
John
Julia
john
julia
johns
julias
john1
julia1
John1
Julia1

我建议您研究一下为什么它对您不起作用。

关于linux - 字典中的单词列表生成器,我们在Stack Overflow上找到一个类似的问题: https://stackoverflow.com/questions/45425088/

相关文章:

linux - 为列表中的每个项目执行 bash 脚本

c - 如何检查用户是否具有执行权限?

linux - 我们可以写一个简单的 bash 脚本来自动以 root 用户身份登录吗

linux - 将 .so 文件插入到 unix 上的 common-auth 文件中

php - 如何在 linux 上查找可读文件夹

ruby - 需要 Sinatra gem 时出错

linux - 管理每周备份

linux - 如何在 Linux 中使用 awk/sed 或其他命令删除某些字符串?

python - 在 python 中转换文本

sed - 通过 sed 备份我的硬盘 `backup` 目录中的每个替换文件?