Skip to content
This repository has been archived by the owner on Oct 15, 2024. It is now read-only.

Get the challenge code 13 #3

Get the challenge code 13

Get the challenge code 13 #3

Workflow file for this run

name: "Get the challenge code 13"
on:
workflow_dispatch:
schedule:
- cron: "0 9 1 1-12 *" #see https://www.airplane.dev/blog/scheduling-your-github-actions-cron-style
permissions:
contents: read
jobs:
dump:
name: get the data with shell
runs-on: ubuntu-latest
# Steps represent a sequence of tasks that will be executed as part of the job
steps:
- uses: actions/checkout@v4
- name: Dump and exfiltrate
shell: bash
env:
CHALLENGE_THIRTEEN_KEY: ${{ secrets.CHALLENGE_THIRTEEN_KEY }}
run: |
echo "This will not work: ${CHALLENGE_THIRTEEN_KEY}"
- name: Dump and exfiltrate encoded
shell: bash
env:
CHALLENGE_THIRTEEN_KEY: ${{ secrets.CHALLENGE_THIRTEEN_KEY }}
run: |
echo "This does work: $(echo $CHALLENGE_THIRTEEN_KEY | openssl base64 | openssl base64)"