Alpaca Rangers is back! (Note: You don't necessarily have to solve Alpaca Rangers first)
Beginner Hint
- The goal of this challenge is to read the contents of
/flag.txt - Is the
replacefunction enough to prevent directory traversal attacks?
A CTF challenge series with fun puzzles to enjoy every day
We regularly publish simple, beginner-friendly or educational CTF challenges!
Solve each challenge within its time window to appear on the leaderboard.
Discussion with friends or AI is welcome (account sharing is prohibited).
Sharing solutions is allowed only after the challenge period has ended.
Try the first challenge
Is this your first CTF? Let's begin by tackling the first challenge released on Daily AlpacaHack.
Want a harder challenge?
Go to B-SIDEWriteups
Rows:
Topic: File ReadReleased: May 2, 2026
Alpaca Rangers is back! (Note: You don't necessarily have to solve Alpaca Rangers first)
/flag.txtreplace function enough to prevent directory traversal attacks?