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

how do i create a wordlist that only have 2 numbers and the rest are lowercase alphabet and it's length should be 8 ? #15

Closed minanagehsalalma closed 4 years ago

minanagehsalalma commented 4 years ago

just like this 1d5ghlbz

LandGrey commented 4 years ago

Two step to get your wordlist:

python pydictor.py -base dL --len 8 8 -o init.dic
python pydictor.py -tool handler init.dic --occur "==6" "==2" "==0" -o final.dic

but there is huge items in init.dic,there will be generate 36^8 = 2.8211099e+12 lines,It will take a very long time.

minanagehsalalma commented 4 years ago

Hmm... thanks mate... can you explain the commands a little bit.

"-base dL" "-tool handler"

but there is huge items in init.dic

But i don't have that kind of space.

Is there a way to generate the final.dic directly?

minanagehsalalma commented 4 years ago

Also can the letters occur be two numbers Not just one So this "--occur "==6""

Be like this "--occur "==6/7" and "==1/2"

LandGrey commented 4 years ago

No way to directly generate the final.dic so far, except to modifying the code.

minanagehsalalma commented 4 years ago

except to modifying the code.

Hmm which part ;)

I think it can some how be generated using hash cat masks.

Something like this ?l?d?l?l?l?d?l?l

But i do need to redo it many times to ensure the two numbers are every where in the wordlist ... i don't even know if it can be used to output into a wordlist.

minanagehsalalma commented 4 years ago

Or maybe using policygen but i don't know how to convert a mask to a wordlist.

https://tools.kali.org/password-attacks/pack