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

2022年8月16日14:36:20 发表评论 341 views

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

weinxin
我的微信
如果有技术上的问题可以扫一扫我的微信
版权声明
1. 本网站名称:Leon的博客
2. 本站永久网址:https://blog.leonshadow.cn
3. 本网站的文章部分内容可能来源于网络,仅供大家学习与参考,如有侵权,请联系站长QQ632113590进行删除处理。
4. 本站一切资源不代表本站立场,并不代表本站赞同其观点和对其真实性负责。
5. 本站一律禁止以任何方式发布或转载任何违法的相关信息,访客发现请向站长举报
6. 本站资源大多存储在云盘,如发现链接失效,请联系我们我们会第一时间更新。
liyang