Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Quick bash script using dig for AXFR zone transfer enum
#!/bin/bash
domain='zonetransfer.me'
ns=$(dig +noall +answer NS $domain | awk '{print $5}')
for server in $ns
do
dig @$server AXFR $domain
done
@noraj
Copy link
Author

noraj commented May 4, 2019

Asciinema (video demo):

asciicast

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment