mirror of
https://github.com/The-Art-of-Hacking/h4cker
synced 2024-11-24 20:03:02 +00:00
quick script to get IPs from domains
quick script to get IPs from domains
This commit is contained in:
parent
1204bb8531
commit
886fbde554
1 changed files with 4 additions and 0 deletions
4
useful_commands_and_scripts/host_DNS_enum.sh
Normal file
4
useful_commands_and_scripts/host_DNS_enum.sh
Normal file
|
@ -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
|
Loading…
Reference in a new issue