Skip to content

Instantly share code, notes, and snippets.

@SleepyLctl
Created September 19, 2018 08:59
Show Gist options
  • Save SleepyLctl/6aad25bbbec2d653818519b74bb0503d to your computer and use it in GitHub Desktop.
Save SleepyLctl/6aad25bbbec2d653818519b74bb0503d to your computer and use it in GitHub Desktop.
DNS Subdomain Enumeration
#!/bin/bash
dot="."
while read subdomain; do
host $subdomain$dot$1 | grep "has address"
done < $2
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment