diff --git a/useful_commands_and_scripts/host_DNS_enum.sh b/useful_commands_and_scripts/host_DNS_enum.sh new file mode 100644 index 0000000..6dc5bc2 --- /dev/null +++ b/useful_commands_and_scripts/host_DNS_enum.sh @@ -0,0 +1,4 @@ +# quick script to get IP addresses from a predefined domain list text file. + +#create a file called domains.txt and exec the following one-liner script. +for url in $(cat domains.txt); do host $url; done | grep "has address" | cut -d " " -f 4 | sort -u