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 error handling in option 20 (Gain a reverse rootshell on a node by launching a hostPath-mounting pod) #5

Closed
faithanalog opened this issue Aug 13, 2020 · 0 comments
Labels
bug Something isn't working

Comments

@faithanalog
Copy link
Contributor

-----------+
Compromise |
-----------+
[20] Gain a reverse rootshell on a node by launching a hostPath-mounting pod
[21] Run command in one or all pods in this namespace via the API Server (RBAC permitting)
[22] Run a token-dumping command in all pods via Kubelets (authorization/Webhook permitting)
[30] Inject peirates into another pod via API Server (RBAC permitting)
-----------------+
Off-Menu         +
-----------------+
[0] Run a kubectl command in the current namespace and service account context [beta]

[exit] Exit Peirates 
----------------------------------------------------------------
Peirates:># 
20
What IP and Port will your netcat listener be listening on?
IP:
10.128.0.28
Port:
4444
Error from server (NotFound): pods "position-checker-74cd45fdf5-2v9fd" not found
root@position-checker-74cd45fdf5-2v9fd:/# 
@faithanalog faithanalog added the bug Something isn't working label Aug 13, 2020
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

2 participants