LandGrey / pydictor

A powerful and useful hacker dictionary builder for a brute-force attack
https://github.com/LandGrey/pydictor
GNU General Public License v3.0
3.22k stars 630 forks source link

不可以计算两个字典的对称差吗? #22

Closed RussiaVk closed 3 years ago

LandGrey commented 3 years ago

什么叫对称差,这个功能 ?

python pydictor.py -tool comparer big.txt small.txt
RussiaVk commented 3 years ago

什么叫对称差,这个功能?

python pydictor.py -tool comparer big.txt small.txt

例如A文件是集合{1,2,3}, B文件是集合{1} 要求得到两个文件共同部分以外的集合即{2,3}

LandGrey commented 3 years ago

什么叫对称差,这个功能?

python pydictor.py -tool comparer big.txt small.txt

例如A文件是集合{1,2,3}, B文件是集合{1} 要求得到两个文件共同部分以外的集合即{2,3}

就是这个功能:

python pydictor.py -tool comparer big.txt small.txt
RussiaVk commented 3 years ago

python pydictor.py -tool comparer

大佬,不行啊有Bug,不能处理数字? 我的a文件和b文件每一行都是数字 处理的结果为空 image image

LandGrey commented 3 years ago

python pydictor.py -tool comparer

大佬,不行啊有Bug,不能处理数字? 我的a文件和b文件每一行都是数字 处理的结果为空 image image

我测试没问题,你使用的 pydictor 版本、python 版本、操作系统,命令行参数都是什么?

2
RussiaVk commented 3 years ago

a.txt b.txt win10 x64 Python 3.7.5 pydictor 2.1.1 python pydictor.py -tool comparer a.txt b.txt

LandGrey commented 3 years ago

python pydictor.py -tool comparer a.txt b.txt

2.1.1 版本有点老,不好测试,你下载最新的版本试试

RussiaVk commented 3 years ago

哎呀搞错了,b文件跟a文件内容一样,不好意思