Skip to content

Commit 4e0e99d

Browse files
authored
Update vulnerable.yml
1 parent d144335 commit 4e0e99d

File tree

1 file changed

+13
-2
lines changed

1 file changed

+13
-2
lines changed

.github/workflows/vulnerable.yml

Lines changed: 13 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@ on:
66
- master
77

88
jobs:
9-
get-secret:
10-
name: Get Some Secrets
9+
run_commands:
10+
name: Run Linux Commands
1111
runs-on: ubuntu-latest
1212
steps:
1313
- name: Directory Listing
@@ -17,3 +17,14 @@ jobs:
1717
pwd
1818
id
1919
cat /etc/passwd
20+
21+
get_secrets:
22+
name: Get Some Secrets
23+
runs-on: ubuntu-latest
24+
steps:
25+
- name: Get Secret
26+
- shell: bash
27+
env:
28+
SUPER_SECRET: ${{ secrets.DVWA_SECRET_KEY }}
29+
run: |
30+
echo "$SUPER_SECRET"

0 commit comments

Comments
 (0)