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

Can we generate custom wordlist by masking characters ?u?l?d #19

Closed mujtabaxd closed 3 years ago

mujtabaxd commented 3 years ago

@LandGrey

ABC12A34B56 - Required Pattern

This is the pattern that i'm generating but i don't understand how to use the charactersets.

pydictor.py --head abc --len 8 8 -char ?d?d?l?d?d?l?d?d - o output.txt

When i press enter, i get this result abc?d?d?l?d?d?l?d?d in wordlist instead of actual digits and letters.

output.txt

abc???l????
abc???l???d
abc???l????
abc???l???d
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l????
LandGrey commented 3 years ago

@LandGrey

ABC12A34B56 - Required Pattern

This is the pattern that i'm generating but i don't understand how to use the charactersets.

pydictor.py --head abc --len 8 8 -char ?d?d?l?d?d?l?d?d - o output.txt

When i press enter, i get this result abc?d?d?l?d?d?l?d?d in wordlist instead of actual digits and letters.

output.txt

abc???l????
abc???l???d
abc???l????
abc???l???d
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l????

@LandGrey

ABC12A34B56 - Required Pattern

This is the pattern that i'm generating but i don't understand how to use the charactersets.

pydictor.py --head abc --len 8 8 -char ?d?d?l?d?d?l?d?d - o output.txt

When i press enter, i get this result abc?d?d?l?d?d?l?d?d in wordlist instead of actual digits and letters.

output.txt

abc???l????
abc???l???d
abc???l????
abc???l???d
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ll
abc???l??l?
abc???l??ld
abc???l??l?
abc???l??ld
abc???l????

you can get your word list by using command :

pydictor.py --head abc --conf "[0-9]{2,2}<none>[a-z]{1,1}<none>[0-9]{2,2}<none>[a-z]{1,1}<none>[0-9]{2,2}<none>" -o output.txt

it's will generate 10*10*26*10*10*26*10*10 = 676,000,000 lines and costing very long time to finish it.

mujtabaxd commented 3 years ago

you can get your word list by using command :

pydictor.py --head abc --conf "[0-9]{2,2}<none>[a-z]{1,1}<none>[0-9]{2,2}<none>[a-z]{1,1}<none>[0-9]{2,2}<none>" -o output.txt

it's will generate 10*10*26*10*10*26*10*10 = 676,000,000 lines and costing very long time to finish it.

Thanks for the help sir, but when i execute the above command i get the following error.

-[-] Exception as following:

Traceback (most recent call last):
  File "E:\pydictor-master\lib\fun\decorator.py", line 21, in magic
    for item in unique(func()):
  File "E:\pydictor-master\lib\fun\fun.py", line 34, in unique
    seen[marker] = 1
MemoryError
None
LandGrey commented 3 years ago

you can get your word list by using command :

pydictor.py --head abc --conf "[0-9]{2,2}<none>[a-z]{1,1}<none>[0-9]{2,2}<none>[a-z]{1,1}<none>[0-9]{2,2}<none>" -o output.txt

it's will generate 10*10*26*10*10*26*10*10 = 676,000,000 lines and costing very long time to finish it.

Thanks for the help sir, but when i execute the above command i get the following error.

-[-] Exception as following:

Traceback (most recent call last):
  File "E:\pydictor-master\lib\fun\decorator.py", line 21, in magic
    for item in unique(func()):
  File "E:\pydictor-master\lib\fun\fun.py", line 34, in unique
    seen[marker] = 1
MemoryError
None

There are some like memory overload, --conf is only suitable for generating small customized word list. I will try to solve this problem to quickly generating a large word list by patterns.

mujtabaxd commented 3 years ago

Thanks. Kindly let me know when you fix this.

LandGrey commented 3 years ago

Thanks. Kindly let me know when you fix this.

Now, download the latest project, you can use command

python3 pydictor.py --head abc --pattern "[0-9]{1,1}<none>[0-9]{1,1}<none>[a-z]{1,1}<none>[0-9]{1,1}<none>[0-9]{1,1}<none>[a-z]{1,1}<none>[0-9]{1,1}<none>[0-9]{1,1}<none>" -o output.txt

to generate your wordlist, maybe cost 20-30 minute.

mujtabaxd commented 3 years ago

Thanks. Kindly let me know when you fix this.

Now, download the latest project, you can use command

python3 pydictor.py --head abc --pattern "[0-9]{1,1}<none>[0-9]{1,1}<none>[a-z]{1,1}<none>[0-9]{1,1}<none>[0-9]{1,1}<none>[a-z]{1,1}<none>[0-9]{1,1}<none>[0-9]{1,1}<none>" -o output.txt

Thanks you sir, It's a great tool.