Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- #!/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
Add Comment
Please, Sign In to add comment