Skip to content

Instantly share code, notes, and snippets.

@carnal0wnage
Created January 8, 2019 19:55
Show Gist options
  • Star 1 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save carnal0wnage/c6f396e96ff9e1b7ba4b47c5a0ab84c6 to your computer and use it in GitHub Desktop.
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)
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