dnscan icon indicating copy to clipboard operation
dnscan copied to clipboard

Plaintext output

Open sumgr0 opened this issue 4 years ago • 1 comments

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

sumgr0 avatar Sep 10 '21 05:09 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

rbsec avatar Sep 10 '21 13:09 rbsec