Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Plaintext output #43

Open
sumgr0 opened this issue Sep 10, 2021 · 1 comment
Open

Plaintext output #43

sumgr0 opened this issue Sep 10, 2021 · 1 comment

Comments

@sumgr0
Copy link

sumgr0 commented Sep 10, 2021

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

@rbsec
Copy link
Owner

rbsec commented Sep 10, 2021

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants