Get the challenge code 13 #37
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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)" |