Skip to content

Commit d300e00

Browse files
committed
Add a-true-connection challenge
1 parent c2cd482 commit d300e00

6 files changed

Lines changed: 17 additions & 12 deletions

File tree

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
11
# A true connection
22

3-
*Add information about challenge here*
4-
*It is meant to contain internal documentation of the challenge, such as how it is solved*
3+
An example challenge to demonstrate an instanced TCP challenge.

challenges/misc/a-true-connection/challenge.yml

Lines changed: 5 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -6,7 +6,11 @@ slug: a-true-connection
66
author: The Mikkel
77
category: misc
88
difficulty: beginner
9-
tags: []
9+
tags: [
10+
Instanced,
11+
TCP,
12+
Example
13+
]
1014
type: instanced
1115
instanced_type: tcp
1216
instanced_name: null

challenges/misc/a-true-connection/description.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,4 +3,4 @@
33
**Difficulty:** Beginner
44
**Author:** The Mikkel
55

6-
*Add challenge description here*
6+
What a connection you can make, if you can connect to the endpoint below!
Lines changed: 3 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,4 @@
11
# Solution
2-
This directory is used to store the solution script for the challenge.
3-
This file should contain the steps to solve the challenge.
2+
3+
Connect to the service using the provided connection details.
4+
From here, the user has to send a message to the server, which will respond with the flag.
Lines changed: 2 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,4 @@
11
# Dockerfile for misc - A true connection
2-
FROM ubuntu:22.04
3-
4-
RUN apt-get update && apt-get upgrade -y && apt-get install -y python3
5-
RUN useradd -m challengeuser
6-
7-
USER challengeuser
2+
FROM istio/tcp-echo-server:1.1
83

4+
CMD [ "8080", "FLAG: ctfpilot{what-a-connection-you-have-made!} | Your message: " ]
Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
services:
2+
a-true-connection:
3+
build: .
4+
ports:
5+
- "8080:8080/tcp"

0 commit comments

Comments
 (0)