Skip to content

Commit

Permalink
linux: add CTF for the students who already know linux
Browse files Browse the repository at this point in the history
Use docker compose to reference image to facilitate updates
in the future with renovate.
The image was build locally for now.
Use a profile that the container does not start with
docker compose up -d.
Repo: https://github.com/BacLuc/learn-linux-by-ctf
If it proves useful, we can improve that.
  • Loading branch information
BacLuc committed Mar 25, 2024
1 parent 64420f1 commit a55c567
Show file tree
Hide file tree
Showing 2 changed files with 19 additions and 0 deletions.
4 changes: 4 additions & 0 deletions topics/linux/code/docker-compose.yml
Original file line number Diff line number Diff line change
Expand Up @@ -6,3 +6,7 @@ services:
- ./hello_world_service:/hello_world_service/hello_world_service
- ./solution:/hello_world_service/solution
privileged: true
learn-linux-by-ctf:
image: ghcr.io/bacluc/learn-linux-by-ctf:2024-03
profiles:
- learn-linux-by-ctf
15 changes: 15 additions & 0 deletions topics/linux/linux_exercise.md
Original file line number Diff line number Diff line change
Expand Up @@ -148,3 +148,18 @@ Startet der Service auch neu?
\lstinputlisting{code/solution/update-hello-world-service.sh}

<#endif>

### Learn Linux by Capture the Flag (CTF)

Für die schnellen sind zusätzliche Übungen mit einem Capture the Flag vorbereitet.
Starte das CTF mit:

```shell
cd topics/linux/code
docker compose run learn-linux-by-ctf
```

Taken from:

- [guye1296/learn-linux-by-ctf](https://github.com/guye1296/learn-linux-by-ctf), Lizenz: [GPL-3.0](https://github.com/guye1296/learn-linux-by-ctf#GPL-3.0-1-ov-file)
- [fluxkompensat0r/learn-linux-by-ctf](https://github.com/fluxkompensat0r/learn-linux-by-ctf), Lizenz: [GPL-3.0](https://github.com/fluxkompensat0r/learn-linux-by-ctf#GPL-3.0-1-ov-file)

0 comments on commit a55c567

Please sign in to comment.