Created
January 8, 2019 19:55
-
-
Save carnal0wnage/c6f396e96ff9e1b7ba4b47c5a0ab84c6 to your computer and use it in GitHub Desktop.
bash script to open file of IPs and looks for unsecure k8 API (10250)
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
for a in $(cat kube-gke.txt); do | |
echo $a; | |
curl --insecure https://$a:10250/runningpods "; | |
echo ""; | |
echo ""; | |
done |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment