# Docker and k8s

* [#BugBountyTip: Found an SSRF #vulnerability in a Jira instance, now what? Right! #RCE like a boss 8) - \[Only for Docker deployments\] http://\[::1\]:2375/containers/json - might get you the docker credentials in the form of env variables!](https://twitter.com/payloadartist/status/1062250344850190336)
* [Looking for kubelet information exposure?Use shodan and type this keyword :product:"Kubernetes" port:"10250"And try](https://twitter.com/jerukitumanis/status/1218395494721839104)

  [https://x.x.x.x:10255/pods](https://twitter.com/jerukitumanis/status/1218395494721839104)
* [#Bugbountytip Got a SSRF? no metadata endpoints to hit? Try https://kubernetes.default.svc/metrics if you get a load crap come back jackpot you've hit the kubernetes API and this should indicate it's shit the bed time for any security team. (url can change)](https://twitter.com/Random_Robbie/status/1072242182306832384)
* Dumping credentials, tokens, and keys from Kubernetes. STEP 1: Perform a GET on the following Kubernetes path: http\://\<Kube\_IPAddr>:2379/v2/keys/?recursive=true STEP 2: Look through returned results for possible credentials or kublet tokens. Credit [@carnal0wnage](https://twitter.com/carnal0wnage)[#hashcrack](https://twitter.com/hashtag/hashcrack?src=hashtag_click)


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://gowsundar.gitbook.io/book-of-bugbounty-tips/docker-and-k8s.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
