-
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.
(web): Added challenge underground watch part 1
- Loading branch information
1 parent
e49451d
commit a39c696
Showing
23 changed files
with
3,591 additions
and
0 deletions.
There are no files selected for viewing
Empty file.
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,28 @@ | ||
name: "Underground Watch - Part 1" | ||
author: "sAINT_barber" | ||
category: web | ||
|
||
description: | | ||
The Andromeda Initiative's surveillance application has been hacked by OrionTech. They managed to gain access to our server and left a note in the root (`/`) directory. | ||
We need you to find the vulnerability and report back how they hacked us. | ||
value: 500 | ||
type: dynamic_docker | ||
extra: | ||
initial: 500 | ||
minimum: 100 | ||
decay: 50 | ||
redirect_type: http | ||
compose_stack: !filecontents docker-compose.yml | ||
|
||
|
||
flags: | ||
- CCSC{f1l3_upl04d_47t4ck5_mu5t_b3_570pp3d} | ||
|
||
tags: | ||
- web | ||
- easy | ||
|
||
state: visible | ||
version: "0.1" |
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,7 @@ | ||
services: | ||
|
||
app: | ||
image: ghcr.io/cybermouflons/ccsc2024/underground_watch_part_1:latest # Add in prod | ||
build: ./setup/ | ||
ports: | ||
- 3001:80 |
Empty file.
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 @@ | ||
Dockerfile |
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 @@ | ||
FROM php:7.4-apache | ||
|
||
WORKDIR /var/www/html | ||
|
||
COPY css css | ||
COPY fonts fonts | ||
COPY images images | ||
COPY js js | ||
COPY uploads uploads | ||
COPY index.php index.php | ||
COPY upload.php upload.php | ||
|
||
RUN chown -R www-data:www-data /var/www/html | ||
|
||
COPY flag.txt /flag.txt | ||
|
||
|
1,876 changes: 1,876 additions & 0 deletions
1,876
web/underground_watch_part_1/setup/css/bootstrap-icons.css
Large diffs are not rendered by default.
Oops, something went wrong.
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.