Skip to content

Instantly share code, notes, and snippets.

@noraj noraj/axfr.sh
Created May 4, 2019

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

This comment has been minimized.

Copy link
Owner Author

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
You can’t perform that action at this time.