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

--conf build dictionary with "-" as special character #36

Closed Slepun closed 2 years ago

Slepun commented 2 years ago

Hi,

I'm trying to build dictionary with --conf as option. Dictionary should contain "-" character. I tried following: sometext[-]{0,1}>, sometext[-]{0,1}, sometext["-"]{0,1}, sometext['-']{0,1}

But none of this works. Is it possible to use "-" in this context? Besides, the tool is exactly what I was needed. Good job!

BR\ Slepun

LandGrey commented 2 years ago

Hi,

I'm trying to build dictionary with --conf as option. Dictionary should contain "-" character. I tried following: sometext[-]{0,1}>, sometext[-]{0,1}, sometext["-"]{0,1}, sometext['-']{0,1}

But none of this works. Is it possible to use "-" in this context? Besides, the tool is exactly what I was needed. Good job!

BR Slepun

First, download the latest pydictor version 2.1.7.1, Then reference https://github.com/LandGrey/pydictor/blob/master/funcfg/extend.conf file special char map table You can use %-% to replace - character in --conf function. Such as python pydictor.py --conf "head[content1,%-%,content2]{0,1}<none>tail"

Slepun commented 2 years ago

Works for me. 谢谢!

BR\ Slepun