AlpacaHack Logo

Challenges

Sign InSign Up

Rows:

CHALLENGEAUTHORS

SOLVES

(CURRENT)

Loading challenges...

Rows:

Kakuzuke

Daily AlpacaHackTopic: LFIReleased: May 20, 2026

88 solves
Web
Medium

by

tchen

tchen

CTF Player Ranking Test

Beginner Hint 1: Overview of the Challenge
  • In POST /, you can read files under the choices directory.
  • The goal is to read /flag.txt.
  • Strings like ../ do not seem to be filtered, but the 5-character limit appears to prevent path traversal.
Beginner Hint 2: How to Approach the Challenge
  • The code assumes that req.body.choices is a string, but is that really true?
  • However, you cannot send JSON. You need to send the body as application/x-www-form-urlencoded.
kakuzuke.tar.gz

Please sign in to submit the flag.

descriptionsolveswriteups