From 93975b243d1f231ee681f28edec3f5e809d59b6b Mon Sep 17 00:00:00 2001 From: Dihuynh35 Date: Thu, 31 Oct 2024 12:57:59 +0700 Subject: [PATCH] Update README --- README.md | 29 ++++++++++++++++++++++++++++- 1 file changed, 28 insertions(+), 1 deletion(-) diff --git a/README.md b/README.md index 2742384..a7c94e5 100644 --- a/README.md +++ b/README.md @@ -1 +1,28 @@ -## Requirements \ No newline at end of file +# Capture The Flag (CTF) Exercise + +Welcome to the Capture The Flag (CTF) exercise! In this challenge, you will be tasked with exploiting a cloud-hosted website to uncover a secret key. Please read the instructions carefully and follow the guidelines below. + +## Challenge Overview + +Your mission is to interact and try to exploit a cloud-hosted website to uncover a secret key hidden in a file within the website’s file system. + +You are provided with the following resources: + +- A cloud-hosted website: [https://hello-anya.fly.dev](https://hello-anya.fly.dev) +- The name of the text file that holds the secret key: **"secret_file"** +- The source code of the above website (the actual "secret_file" is not included) +- The first three letters of the secret: **"19b"** + +## Requirements + +- Go through the provided source code to understand how the website works and find any potential vulnerabilities. +- Interact with the website while combining with the knowledge of the source code to uncover the hidden secret key +- After successfully finding the secret key, you are required to submit your findings via email. Your submission should include: + - The answer: the complete value of the secret key. + - A short explanation of how you discovered the secret key. + +## Hint + +- Pay special attention to the `pages_controller.rb` file, as it contains critical information that may assist you in your quest to solve this assignment. + +Good luck, and may the best candidate win!