Contents

๐ŸŽฏ FANTASY CTF

A detailed write-up of the Misc challenge 'FANTASY CTF' from PicoCTF - 2025

/images/PicoCTF-2025/Misc/FantasyCTF/challenge_presentation.png
Challenge Presentation

๐Ÿ“Š Challenge Overview

Category Details Additional Info
๐Ÿ† Event PicoCTF - 2025 Event Link
๐Ÿ”ฐ Category Misc ๐ŸŽฏ
๐Ÿ’Ž Points 10 Out of 500 total
โญ Difficulty ๐ŸŸข Easy Personal Rating: 0/10
๐Ÿ‘ค Author syreal Profile
๐ŸŽฎ Solves (At the time of flag submission) 7.312 solve rate
๐Ÿ“… Date 15-03-2025 PicoCTF - 2025
๐Ÿฆพ Solved By mH4ck3r0n3 Team:

๐Ÿ“ Challenge Information

Play this short game to get familiar with terminal applications and some of the most important rules in scope for picoCTF. Connect to the program with netcat: $ nc verbal-sleep.picoctf.net 55716

๐ŸŽฏ Challenge Files & Infrastructure

Provided Files

1
Files: None

๐Ÿ” Initial Analysis

First Steps

The first thing I did was connect with netcat:

/images/PicoCTF-2025/Misc/FantasyCTF/nc.png
NetCat

Since the process is already "exploitation", let’s move on to the next phase.

๐ŸŽฏ Solution Path

Exploitation Steps

Exploitation

I continued pressing enter until I received a prompt. I selected c (though I think itโ€™s pretty much indifferent, even though I didnโ€™t try honestly), and then we are asked to play a game by selecting a. Once selected, after a few enter presses, the flag is printed.

Flag capture

/images/PicoCTF-2025/Misc/FantasyCTF/manual_flag.png
Manual Flag

๐Ÿ› ๏ธ Exploitation Process

Approach

The automatic exploit performs exactly the same steps as manually, by connecting to the server, and extracts the flag from the response using a regex.

๐Ÿšฉ Flag Capture

Flag

picoCTF{m1113n1um_3d1710n_fc649bc5}

Proof of Execution

/images/PicoCTF-2025/Misc/FantasyCTF/automated_flag.png
Automated Flag
Screenshot of successful exploitation

๐Ÿ”ง Tools Used

Tool Purpose
Python Exploit

๐Ÿ’ก Key Learnings

Skills Improved

  • Binary Exploitation
  • Reverse Engineering
  • Web Exploitation
  • Cryptography
  • Forensics
  • OSINT
  • Miscellaneous

๐Ÿ“Š Final Statistics

Metric Value Notes
Time to Solve 00:01 From start to flag
Global Ranking (At the time of flag submission) 1173/10516 Challenge ranking
Points Earned 10 Team contribution

Created: 15-03-2025 โ€ข Last Modified: 15-03-2025 *Author: mH4ck3r0n3 โ€ข Team: *