Skip to content

Instantly share code, notes, and snippets.

@003random
Created January 18, 2019 11:50
Show Gist options
  • Save 003random/1124382478e81f1862f7398038ef5d34 to your computer and use it in GitHub Desktop.
Save 003random/1124382478e81f1862f7398038ef5d34 to your computer and use it in GitHub Desktop.
#!/usr/bin/env bash
while getopts ":d:" opt; do
case $opt in
d)
domain=$OPTARG
;;
esac
done
if [[ -z "${domain// }" ]];
then
echo "[-] No domain supplied. Use -d domain.com"
echo "[!] Exiting..."
exit 1
fi
@karmickei
Copy link

Your write-up on Recon methodology is amazing, however after reading it...i stared with the first get_subdomains.sh script!! there is no output what so ever!! is there anything that i'm missing??!!

@003random
Copy link
Author

Hi,
Do you have a screenshot? Also, which parameters did you give the script? :)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment