Member-only story
HTB - Kuber
A writeup for the Sherlock challenge “Kuber” on Hack The Box
https://app.hackthebox.com/sherlocks/Kuber
At which NodePort is the ssh-deployment Kubernetes service exposed for external access?
In Kubernetes, pods are exposed for external access using service objects.
We can check the ports definition in the service file to find out which port the ssh-deployment pod is using.
What is the ClusterIP of the kubernetes cluster?
As before, we can search for the kube-system pod in the service.yaml file and look for the ClusterIP set for it.
What is the flag value inside ssh-config configmap?
As we require the values from the configmap, we can simply search for the ssh-config data inside the configmaps.yaml file.