Skip to content

Commit eaac23a

Browse files
authored
Merge pull request #3 from ctfpilot/develop
Release initial example challenges
2 parents 6949749 + 8895208 commit eaac23a

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

69 files changed

+1483
-55
lines changed

.github/workflows/configure-challs.yml

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -7,9 +7,9 @@ on:
77
workflow_dispatch:
88

99
jobs:
10-
create_challenge:
11-
name: Create challenge
12-
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].0
10+
configure_challenges:
11+
name: Configure challenges
12+
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].2
1313
permissions:
1414
contents: write
1515
packages: write

.github/workflows/configure-pages.yml

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,9 +9,9 @@ on:
99
jobs:
1010
create_pages:
1111
name: Create pages
12-
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].0
12+
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].2
1313
permissions:
1414
contents: write
1515
with:
1616
runs-on: "ubuntu-latest"
17-
toolkit-path: "./challenge-toolkit/"
17+
toolkit-path: "./challenge-toolkit/"

.github/workflows/create-chall.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -81,7 +81,7 @@ on:
8181
jobs:
8282
create_challenge:
8383
name: Create challenge
84-
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].0
84+
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].2
8585
permissions:
8686
contents: write
8787
pull-requests: write

.github/workflows/render-templates.yml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,7 @@ on:
66
jobs:
77
render_templates:
88
name: Render all templates
9-
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].0
9+
uses: ctfpilot/challenge-ci/.github/workflows/[email protected].2
1010
permissions:
1111
contents: write
1212
packages: write

README.md

Lines changed: 12 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
# Challenges example repository
22

3-
This repository contains an example challenges repository, for CTF Pilot's Challenge Repository Template
3+
> [!IMPORTANT]
4+
> This is an example repository of the [CTF Pilot's Challenge Repository Template](https://github.com/ctfpilot/challenges-template).
5+
> It is intended to be used as a reference for creating your own challenges repository, and testing the infrastructure with some example challenges.
6+
>
7+
> **Please use the [Challenge Repository Template](https://github.com/ctfpilot/challenges-template) if you want to create your own challenges repository.**
8+
9+
This repository contains an example challenges repository, for [CTF Pilot's Challenge Repository Template](https://github.com/ctfpilot/challenges-template).
410

511
## Challenge toolkit
612

@@ -205,3 +211,8 @@ To create a new challenge, follow these steps:
205211
7. Once the workflow is complete, a new branch, pull request, and issue will be created for the challenge.
206212

207213
If errors occur during the workflow execution, please reach out to the infrastructure team for assistance. Logs from the workflow can be found in the `Actions` tab of the repository.
214+
215+
## Project board
216+
217+
A project board is available to track the progress of challenges.
218+
This can be found at: [Challenges Project board](https://github.com/orgs/ctfpilot/projects/2)
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Oh look, A flag!
2+
3+
This challenge is an example challenge for testing the handout system.
4+
5+
It contains a single text file, which contains a flag.
6+
In the infrastructure, this file should be automatically zipped into a handout file, and uploaded to the platform.
Lines changed: 10 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -1,23 +1,26 @@
11
# yaml-language-server: $schema=https://raw.githubusercontent.com/ctfpilot/challenge-schema/refs/heads/main/schema.json
22

33
enabled: true
4-
name: Example
5-
slug: example
4+
name: Oh look, A flag!
5+
slug: oh-look-a-flag
66
author: The Mikkel
7-
category: test
8-
difficulty: easy
9-
tags: []
7+
category: forensics
8+
difficulty: beginner
9+
tags: [
10+
Static,
11+
Example
12+
]
1013
type: static
1114
instanced_type: none
1215
instanced_name: null
1316
instanced_subdomains: []
1417
connection: null
1518
flag:
16-
- flag: test{demo}
19+
- flag: ctfpilot{handouts-may-contain-flag}
1720
case_sensitive: false
1821
points: 1000
1922
decay: 75
20-
min_points: 10
23+
min_points: 100
2124
description_location: description.md
2225
handout_dir: handout
2326

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,6 @@
1+
# Oh look, A flag!
2+
3+
**Difficulty:** Beginner
4+
**Author:** The Mikkel
5+
6+
Handouts may contain flags, but does this one?
File renamed without changes.

0 commit comments

Comments
 (0)