Skip to content

Instantly share code, notes, and snippets.

@MrThreat
Created October 13, 2017 19:22
Show Gist options
  • Save MrThreat/052a5d44f23d0d0919aae69938243b5f to your computer and use it in GitHub Desktop.
Save MrThreat/052a5d44f23d0d0919aae69938243b5f to your computer and use it in GitHub Desktop.
ip to host to domain | sorted
while read line; do host $line | cut -d ' ' -f 5 | rev | cut -c 2- | rev \
|grep -v "(" >> domains.txt ; done <ips.lst
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment