elceef / dnstwist

Domain name permutation engine for detecting homograph phishing attacks, typo squatting, and brand impersonation
https://dnstwist.it
Apache License 2.0
4.85k stars 767 forks source link

Question/Feature Request - Using multiple dictionaries at the same time #208

Closed zyntax999 closed 10 months ago

zyntax999 commented 10 months ago

Hi,

I am trying to use 5 different dictionaries at the same time but it does look it only uses 1 of them. Is there a way to get DNStwist to user multiple dictionaries at the same time?

Would be nice to have arguments like -d1 -d2 -d3 etc for wordlists so DNStwists goes through all the permutations from them.

Or is the solution to combine all the dictionaries i use into 1 file?

zyntax999 commented 10 months ago

I think i figured out a way to solve this in a way:

for dictionary1 in $(cat dictionary1.txt); do for dictionary2 in $(cat dictionary2.txt); do for dictionary3 in $(cat dictionary3.txt); do domain="$dictionary1-$dictionary2-$dictionary3.com"; ./dnstwist.py --format csv -d "~/dnstwist/dictionaries/your_other_dictionary.dict" -r $domain | cut -d, -f2 >> permutations.txt; done; done; done