Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Missing flag in "SSRF in K8S" scenario #81

Closed
mrintern opened this issue Oct 4, 2022 · 2 comments
Closed

Missing flag in "SSRF in K8S" scenario #81

mrintern opened this issue Oct 4, 2022 · 2 comments
Assignees
Labels
bug Something isn't working

Comments

@mrintern
Copy link

mrintern commented Oct 4, 2022

image

My setup:

windows subsystem for linux 2 (WSL2) (ubuntu app)
Windows 11 underneath that
deployed K8S goat using KinD

@adamhurm
Copy link
Contributor

adamhurm commented Oct 4, 2022

Hi @mrintern, you will also need to include the Content-Type header to get the expected response. Try adding this to the Custom Header field:
Content-Type: application/json

Screenshot from 2022-10-04 19-01-54

adamhurm added a commit to adamhurm/kubernetes-goat that referenced this issue Oct 4, 2022
avoid confusion like this: madhuakula#81

Using `{'Content-Type': 'application/json'}` will result in "400 Bad Request: invalid header name" response
@mrintern
Copy link
Author

mrintern commented Oct 5, 2022 via email

@madhuakula madhuakula added the bug Something isn't working label Oct 6, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Something isn't working
Projects
None yet
Development

No branches or pull requests

3 participants