暴力破解-字典生成pydictor(一)

1.1 pydictor

1.1.1 下载pydictor

https://github.com/LandGrey/pydictor

1.1.2 安装pydictor

$ cd Program
$ git clone --depth=1 --branch=master https://www.github.com/landgrey/pydictor.git
$ chmod +x pydictor/pydictor.py

1.1.3 pydictor常用参数

$ python pydictor.py –help
-base:表示密码所使用的字符
-base Type 中的 Type:
    d:数字[0- 9]
    L:小写字母[a - z]
    C:大写字母[A- Z]
    -o:指定字典存储的位置

1.1.4 生成字典示例

https://github.com/LandGrey/pydictor/blob/master/docs/doc/usage.md

1.1.4.1 生成全部由数字组成切长度为4到6的字典

$ python pydictor.py -base d --len 4 6
[+] A total of :1110000 lines
[+] Store in   :/home/test/Program/pydictor/results/base_165439.txt
[+] Cost       :0.3911 seconds

1.1.4.2 生成支持使用数字、大小写字母3者组合的2到3位数的字典,并存储在/tmp/passwd.txt

$ python pydictor.py -base dLc --len 2 3 -o /tmp/passwd.txt
[+] A total of :242172 lines
[+] Store in   :/tmp/passwd.txt
[+] Cost       :0.1074 seconds

1.1.4.3 生成支持使用数字、大小写字母3者组合的6位字典

$ python pydictor.py -base dLc --len 6 6 -o /tmp/666.txt

1.1.4.4 生成含有特殊字符的自定义字符集字典

$ python pydictor.py -char '@#$%^&*abcdefg12345678' --len 3 5
[+] A total of :5398536 lines
[+] Store in   :/home/test/Program/pydictor/results/char_172107.txt
[+] Cost       :1.6737 seconds

1.1.4.5 生成以Pa5swOrd开头,后面4位全为数字的字典

$ python pydictor.py -base d --len 4 4 --head Pa5sw0rd -o /tmp/pass4.txt
[+] A total of :10000 lines
[+] Store in   :/tmp/pass4.txt
[+] Cost       :0.0418 seconds

1.1.4.6 将一个目录下多个字典合并去掉重复的记录

$ python pydictor.py -tool uniqbiner results/
[+] Source of  :6508536 lines
[+] A total of :6471672 lines
[+] Store in   :/home/te/Program/pydictor/results/uniqbiner_172435.txt
[+] Cost       :19.899 seconds
温馨提示:本文最后更新于2022-12-20 20:57:34,已超过464天没有更新。某些文章具有时效性,若文章内容或图片资源有错误或已失效,请联系站长。谢谢!
转载请注明本文链接:https://blog.leonshadow.cn/763482/2788.html
© 版权声明
THE END
喜欢就支持一下吧
点赞0 分享