AlpacaHack Logo

Challenges

Sign InSign Up

Rows:

CHALLENGEAUTHORS

SOLVES

(CURRENT)

SOLVE RATE

(AT CONTEST TIME)

AlpacaHack 2100

Daily AlpacaHack

admin

1765

solves

-

1575

solves

-

Daily AlpacaHack

937

solves

-

AlpacaHack Round 2 (Web)

630

solves

Top 28%

= 84/300 users

Daily AlpacaHack

624

solves

-

Daily AlpacaHack

607

solves

-

SECCON Beginners CTF 2024

543

solves

Top 73%

= 683/928 teams

Daily AlpacaHack

410

solves

-

Daily AlpacaHack

408

solves

-

Daily AlpacaHack

375

solves

-

Daily AlpacaHack

367

solves

-

echo

AlpacaHack Round 1 (Pwn)

363

solves

Top 32%

= 56/174 users

Daily AlpacaHack

349

solves

-

Daily AlpacaHack

342

solves

-

Daily AlpacaHack

339

solves

-

Daily AlpacaHack

331

solves

-

Encoding Basics

Daily AlpacaHack

331

solves

-

🐈

Daily AlpacaHack

324

solves

-

Bars

Daily AlpacaHack

318

solves

-

108

Daily AlpacaHack

307

solves

-

Rows:

jailiaj

Daily AlpacaHackTopic: JailReleased: Jan 6, 2026

291 solves
Misc
Easy🌱

by

minaminao

minaminao

n ko so pa to ma to pa so ko n

Beginner Hint: What Is Jail? (AI-translated)
  • AlpacaHack currently focuses on four categories: Crypto, Pwn, Rev, and Web. Challenges from other fields are classified under the Misc category.
  • This challenge belongs to the Misc category, and more specifically, it is one of the challenges called Jail.
  • Jail sometimes appears as its own independent category, including in SECCON Quals.
  • Jail challenges are themed around escaping from some kind of restricted execution environment, or "jail."
  • If you can take advantage of imperfections in the given environment or restrictions and perform an unintended action, you can obtain the flag.
  • Jail challenges related especially to Python language features are called Pyjail.
Beginner Hint: First Step (AI-translated)
  • If you read the script, you can see that after checking whether the input is a palindrome, it executes that input with eval.
  • flag.txt is placed at ./flag.txt by the Dockerfile.
  • First, think about an easier version of this challenge where the palindrome-checking assert statement does not exist.
  • In that case, you could simply input print(open("flag.txt").read()) to read the flag.
  • While keeping in mind the question "How can I construct a palindromic payload?", try looking into Python language features and experimenting locally to observe their behavior.
jailiaj.tar.gz
descriptionsolveswriteups