dnscan
dnscan copied to clipboard
Plaintext output
Hi @rbsec!
I really enjoy using dnscan and it is really helpful during the recon process.
However, when using the output with other tools the format becomes a major challenge. Any chance of including an option to get plaintext output.
Thanks in advance.
Best, sumgr0
If you use the -q option the then the output file only includes the discovered IPs and hostnames separated by a spaces and hyphens (so you can just extra whichever of those two you want with cut):
$ dnscan.py -q -d example.org -o out.txt
[...]
$ cat out.txt
93.184.216.34 - example.org
93.184.216.34 - www.example.org