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.26k stars 637 forks source link

-chunk 功能运行失败 #3

Closed hundan2020 closed 7 years ago

hundan2020 commented 7 years ago

python pydictor.py -chunk abc ABC 666 . _ @ "'" --head a --tail 123 --encode md5 返回

D:\OkMyTools\pydictor\pydictor>python pydictor.py -chunk abc ABC 666 . _ @ "'" --head a --tail 123 --encode md5
                              _ _      _
              _ __  _   _  __| (_) ___| |_ ___  _ __
             | '_ \| | | |/ _` | |/ __| __/ _ \| '__|
             | |_) | |_| | (_| | | (__| || (_) | |
             | .__/ \__, |\__,_|_|\___|\__\___/|_|
             |_|    |___/                            2.0.3#dev

Traceback (most recent call last):
  File "pydictor.py", line 91, in <module>
    get_chunk_dic(pyoptions.args_chunk)
  File "D:\OkMyTools\pydictor\pydictor\core\CHUNK.py", line 34, in get_chunk_dic
    special_types=pyoptions.special_types,
  File "D:\OkMyTools\pydictor\pydictor\lib\fun\filter.py", line 206, in filterforfun
    item = headtail_filter(item, head=head, tail=tail)
  File "D:\OkMyTools\pydictor\pydictor\lib\fun\filter.py", line 26, in headtail_filter
    return head + item + tail
TypeError: cannot concatenate 'str' and 'tuple' objects

Python 2.7 windows10 x64,家庭中文版,版本1607

LandGrey commented 7 years ago

thanks, bug has fixed: here