tp7309 / TTPassGen

密码生成 flexible and scriptable password dictionary generator which can support brute-force、combination、complex rule mode etc...
Apache License 2.0
148 stars 25 forks source link

Example given does not work #4

Closed skyleft22 closed 5 years ago

skyleft22 commented 5 years ago

I have two lists of words that I want to combine, as given in the last example of the post. I'm inputting the command: ttpassgen --dictlist in.dict,in2.dict --rule $0[_]?$1 -s " " out.dict

However, the generated out.dict file is empty aside from a "_" symbol at the start.

What's the issue?

tp7309 commented 5 years ago

Probably the file encoding of in.dict/in2.dict is not utf-8, you can use --inencoding option to specify input file encoding(gbk、gb2312、utf8...), or create file with Notepad++ to ensure that the file encoding is utf-8.

The attachment is the in.dict/in2.dict I created. sample.zip