elceef / dnstwist

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

Feature request - Ability to only output domain names in CLI #207

Closed zyntax999 closed 7 months ago

zyntax999 commented 7 months ago

Hi,

It would be nice to have a argument to output only domain names in CLI so its listed like:

domainname.com

And not the NS/MX and type of domain.

elceef commented 7 months ago

Did you try --format list argument?

zyntax999 commented 7 months ago

Yes, but it looks like --format list doesn't work with argument -r And i want it show only registered domains in list, not all possible permutations.

elceef commented 7 months ago

Then I recommend using CSV or JSON output and extract just domain names. Here's example with CSV format:

./dnstwist.py --format csv -r domain.com | cut -d, -f2
zyntax999 commented 7 months ago

Thank you, that solves it for me, although it would be nice with a progress indicator when using this command.