infosec-au / altdns

Generates permutations, alterations and mutations of subdomains and then resolves them
Apache License 2.0
2.26k stars 446 forks source link

Support stdin and stdout #41

Open taythebot opened 2 years ago

taythebot commented 2 years ago

We're trying to chain multiple tools together: subfinder, altdns, and massdns like below. However I can't seem to get altdns to accept input from stdin and output to stdout.

It would be great if altdns supported this. With a big wordlist and couple hundred domains, the output generated by altdns for us was more than 45GB. It's not feasible for us to store this, since we're automating this process with containers. It would also make using altdns with other tools much easier!

Wanted Command:

subfinder -d <target> | altdns -w all.txt | massdns -r resolvers.txt -o J -q