-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add example repo with some challenges to use for testing
Includes one chal with only static files, and another with a container build. Signed-off-by: Robert Detjens <[email protected]>
- Loading branch information
1 parent
98bf272
commit b8b0671
Showing
9 changed files
with
81 additions
and
10 deletions.
There are no files selected for viewing
This file was deleted.
Oops, something went wrong.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,17 @@ | ||
name: garf | ||
author: some guy | ||
description: | | ||
enjoy this funky image | ||
# used for point values in rcds.yaml | ||
# 0 for survey/rules chal? | ||
# default: 1 | ||
difficulty: 1 | ||
|
||
# alternatively, flag: dam{wtf} | ||
flag: | ||
text: dam{garf} | ||
|
||
# on-disk files or CI-generated zip of build artifacts? | ||
provide: | ||
- garf.webp |
Binary file not shown.
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
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,3 @@ | ||
FROM nginx | ||
|
||
COPY site_source/ /var/www/html/ |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,21 @@ | ||
name: bar | ||
author: foo bar | ||
description: | | ||
can you order a drink from the webserver? | ||
{{ url }} | ||
difficulty: 1 | ||
|
||
flag: | ||
file: ./flag | ||
|
||
# each individual pod is gonna allow only 1 container for now | ||
pods: | ||
- name: bar | ||
build: ./ | ||
replicas: 1 | ||
ports: | ||
- internal: 80 | ||
expose: | ||
http: bar.chals.frontend.example |
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
dam{bar} |
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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,26 @@ | ||
<!doctype html> | ||
|
||
<html lang="en"> | ||
<head> | ||
<meta charset="UTF-8" /> | ||
<title>give me a drink</title> | ||
<meta name="viewport" content="width=device-width,initial-scale=1" /> | ||
<meta name="description" content="" /> | ||
|
||
<style> | ||
body { | ||
background: center; | ||
background-image: url("/blue_moon_tap.jpg"); | ||
background-repeat: no-repeat; | ||
background-size: cover; | ||
|
||
width: 100vw; | ||
height: 100vh; | ||
} | ||
</style> | ||
</head> | ||
|
||
<body> | ||
<a hidden href="/flag">red team dont drink</a> | ||
</body> | ||
</html> |