Advertisement
Guest User

Untitled

a guest
May 29th, 2015
219
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.50 KB | None | 0 0
  1. domains=(
  2. $(xargs -n1 -P"${max_curl_procs}" /bin/bash -c 'read -r line < <(curl -s --connect-timeout "$curl_contimeout" --max-time "$curl_maxtime" -H"Host: ${0%%./*}" "http://$0" 2>/dev/null)
  3. shopt -s extglob
  4. host=${line%%@( |<|>|-)*}
  5. if [[ $src_environment = "${host#*.}" ]] ; then
  6. echo "${0%%./*}"
  7. fi' <<<"${tmp_sites[@]/%/./${uripath#/}}" & banner "Scanning for sites in environment <$src_environment> using <$uripath>" >&6)
  8. )
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement