cyber-security-resources/useful_commands_and_scripts/host_DNS_enum.sh
Omar Santos 886fbde554 quick script to get IPs from domains
quick script to get IPs from domains
2018-05-11 11:46:41 -04:00

5 lines
251 B
Bash

# 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