Guest User

Untitled

a guest
Jan 19th, 2019
89
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.23 KB | None | 0 0
  1. #!/usr/bin/env bash
  2.  
  3. while getopts ":d:" opt; do
  4. case $opt in
  5. d)
  6. domain=$OPTARG
  7. ;;
  8. esac
  9. done
  10.  
  11. if [[ -z "${domain// }" ]];
  12. then
  13. echo "[-] No domain supplied. Use -d domain.com"
  14. echo "[!] Exiting..."
  15. exit 1
  16. fi
Add Comment
Please, Sign In to add comment