File tree 6 files changed +10
-10
lines changed
guide/docs/scenarios/scenario-22
6 files changed +10
-10
lines changed Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Author: Madhu Akula
3
- # This program has been created as part of Kuberentes Goat
4
- # Kuberentes Goat Access vulnerable infrastrcuture
3
+ # This program has been created as part of Kubernetes Goat
4
+ # Kubernetes Goat Access vulnerable infrastructure
5
5
6
6
# Checking kubectl setup
7
7
kubectl version --short > /dev/null 2>&1
@@ -44,4 +44,4 @@ export POD_NAME=$(kubectl get pods --namespace big-monolith -l "app=hunger-check
44
44
kubectl --namespace big-monolith port-forward $POD_NAME --address 0.0.0.0 1236:8080 > /dev/null 2>&1 &
45
45
46
46
47
- echo " Visit http://127.0.0.1:1234 to get started with your Kuberenetes Goat hacking!"
47
+ echo " Visit http://127.0.0.1:1234 to get started with your Kubernetes Goat hacking!"
Original file line number Diff line number Diff line change @@ -120,7 +120,7 @@ kubectl get pods -n vault
120
120
kubectl --namespace vault exec -it kubernetes-goat-secrets -- sh
121
121
```
122
122
123
- ![ exec working to kuberenetes -goat secrets pod] ( ../images/sc-22-4.png )
123
+ ![ exec working to kubernetes -goat secrets pod] ( ../images/sc-22-4.png )
124
124
125
125
- As you can clearly see that we can ` exec ` into the ` kubernetes-goat-secrets ` pod in ` vault ` namespace
126
126
Original file line number Diff line number Diff line change 1
1
// Author: Madhu Akula
2
- // This program has been created as part of Kuberentes Goat
2
+ // This program has been created as part of Kubernetes Goat
3
3
// Static metadata database
4
4
package main
5
5
Original file line number Diff line number Diff line change 1
1
#!/usr/bin/python3
2
2
# Author: Madhu Akula
3
- # This program has been created as part of Kuberentes Goat
3
+ # This program has been created as part of Kubernetes Goat
4
4
# User repositories information using API
5
5
import requests
6
6
import json
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Author: Madhu Akula
3
- # This program has been created as part of Kuberentes Goat
4
- # Kuberentes Goat setup and manage vulnerable infrastrcuture
3
+ # This program has been created as part of Kubernetes Goat
4
+ # Kubernetes Goat setup and manage vulnerable infrastructure
5
5
6
6
# Checking kubectl setup
7
7
kubectl version --short > /dev/null 2>&1
Original file line number Diff line number Diff line change 1
1
#! /bin/bash
2
2
# Author: Madhu Akula
3
- # This program has been created as part of Kuberentes Goat
4
- # Teardown Kuberentes Goat setup
3
+ # This program has been created as part of Kubernetes Goat
4
+ # Teardown Kubernetes Goat setup
5
5
6
6
# Removing the superadmin cluster role/binding
7
7
kubectl delete clusterrolebindings superadmin
You can’t perform that action at this time.
0 commit comments