Skip to content

Commit

Permalink
checkout 5222
Browse files Browse the repository at this point in the history
  • Loading branch information
txthinking committed Apr 21, 2015
1 parent faef387 commit f0de5ed
Showing 1 changed file with 9 additions and 0 deletions.
9 changes: 9 additions & 0 deletions scripts/select.sh
Original file line number Diff line number Diff line change
Expand Up @@ -47,6 +47,15 @@ do
then
continue
fi
if [ $domain = "*.google.com" ]
then
c=$(nmap --host-timeout 2s $ip -p 5222 2>/dev/null | grep -Pc "5222/tcp open")
if [ $c -eq 1 ]
then
continue
fi
cer=$(curl https://$ip 2>&1 | grep -Po "'\S*'" |head -1|cut -d \' -f 2)
fi
_ip=$ip
break
done < $filter_data
Expand Down

0 comments on commit f0de5ed

Please sign in to comment.