curl check status code


curl --write-out "%{http_code}\n" --silent --output /dev/null "$URL"

for URL in `cat domain_list.txt`; do printf "%s: " $URL; curl --write-out "%{http_code}\n" --silent --output /dev/null https://$URL ; done

Leave a Reply

Your email address will not be published. Required fields are marked *