ignore non accessable hosts
This commit is contained in:
parent
8b739cf6a9
commit
96bf3ee571
@ -199,6 +199,7 @@
|
|||||||
cat $g_tmp/hosts | cut -d '`' -f2 | sort -u | while read host
|
cat $g_tmp/hosts | cut -d '`' -f2 | sort -u | while read host
|
||||||
do
|
do
|
||||||
host ${host} >/dev/null 2>&1 || continue
|
host ${host} >/dev/null 2>&1 || continue
|
||||||
|
curl -s https://${host} >/dev/null 2>&1 || continue
|
||||||
until ssllabs-scan --quiet ${host} | jq '.[] | .endpoints | .[] | .grade' >${g_tmp}/ssllabs-scan-result 2>&1
|
until ssllabs-scan --quiet ${host} | jq '.[] | .endpoints | .[] | .grade' >${g_tmp}/ssllabs-scan-result 2>&1
|
||||||
do
|
do
|
||||||
sleep 60
|
sleep 60
|
||||||
|
Loading…
Reference in New Issue
Block a user