mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-28 21:50:18 +00:00
886fbde554
quick script to get IPs from domains
4 lines
251 B
Bash
4 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
|