AlpacaHack Logo

Challenges

Sign InSign Up

Rows:

CHALLENGEAUTHORS

SOLVES

(CURRENT)

SOLVE RATE

(AT CONTEST TIME)

Welcome
Misc

admin

1428

solves

-

Daily AlpacaHack

1250

solves

-

Daily AlpacaHack

737

solves

-

AlpacaHack Round 2 (Web)

570

solves

Top 28%

= 84/300 users

Daily AlpacaHack

499

solves

-

Daily AlpacaHack

480

solves

-

Daily AlpacaHack

426

solves

-

echo
Pwn

AlpacaHack Round 1 (Pwn)

339

solves

Top 32%

= 56/174 users

Daily AlpacaHack

325

solves

-

Daily AlpacaHack

314

solves

-

Daily AlpacaHack

288

solves

-

Daily AlpacaHack

287

solves

-

Daily AlpacaHack

283

solves

-

Daily AlpacaHack

282

solves

-

Daily AlpacaHack

278

solves

-

Daily AlpacaHack

277

solves

-

Encoding Basics
Misc
Crypto

Daily AlpacaHack

272

solves

-

🐈
Web

Daily AlpacaHack

270

solves

-

AlpacaHack Round 7 (Web)

265

solves

Top 15%

= 71/458 users

108
Misc

Daily AlpacaHack

252

solves

-

Rows:

Log Viewer

Daily AlpacaHack
203 solves
Web

Author:

Simple log viewer with regex feature.

Beginner Hint: What is an instance spawner?
  • In CTFs, some challenges require dynamically creating a separate challenge server for each player (or team).
  • For example, if a player can change the state of a challenge server, it may affect other players.
  • To handle such issues, an instance spawner is provided.
  • On AlpacaHack, clicking the "Spawn Challenge Server" button automatically creates an isolated challenge server for each user.
  • This challenge also uses an instance spawner.
  • To help reduce server load, please try to solve the challenge locally before spawning.
  • Note that on Daily AlpacaHack, even for challenges that do not require an instance spawner, the challenge server may be stopped after some time has passed since release, and the "Spawn Challenge Server" button will then appear.
Beginner Hint: The Starting Point of the Attack
  • The goal of this challenge is to read the flag file located in the root directory.
  • The starting point for achieving this is an OS command injection in the query part of the awk command.
Beginner Hint: Pitfalls in Payload Construction
  • In Python, subprocess.run method executes commands without going through a shell like Bash.
  • As a result, you cannot split commands using ; or perform command substitution with $(command).
log-viewer.tar.gz
descriptionsolveswriteups