AlpacaHack Logo
Sign InSign Up
Daily AlpacaHack

A daily CTF challenge with a fun new puzzle every day

What is Daily AlpacaHack?

We publish one simple, beginner-friendly or educational CTF challenge every day!

Join Anytime

Solve within 24 hours of release to appear on the leaderboard.

Not a Competition

Discussion with friends or AI is welcome (account sharing is prohibited).

Solution Sharing Rules

Sharing solutions is allowed only after 24 hours have passed since release.

Solve stats

0

/19

No solved challenges yet.

Sign In to view your player stats

Today's Challenge
minaminaominaminao
Flag Printer 20XX
Misc
Medium
19 solves
Submissions (latest 3)
tenagazaru

SOLVED!

Jun 18, 5:15 PM

kurgm

SOLVED!

Jun 18, 4:42 PM

hiikunz

SOLVED!

Jun 18, 4:33 PM

Leaderboard

Try the first challenge

Is this your first CTF? Let's begin by tackling the first challenge released on Daily AlpacaHack.

View challenge
admin
AlpacaHack 2100
Misc
Welcome🌱
1,896 solves
Upcoming challenges reveal the , , and in advance.
Prev

Jun 2026

Next
Solved
Unsolved
Upcoming
Mon
Tue
Wed
Thu
Fri
Sat
Sun
1
admin
Half-Year Recap
Misc
Welcome🌱
222 solves
2
minaminaominaminao
Cache Me If You Can
Web
Easy🌱
183 solves
3
minaminaominaminao
vm1
Misc
Medium
92 solves
4
pppp4649pppp4649
Small e
Crypto
Easy🌱
126 solves
5
minaminaominaminao
RPS GAME
Misc
Crypto
Medium
93 solves
6
nozokare
Flag for localhost
Web
Easy🌱
146 solves
7
tan90909090tan90909090
C++ flag checker
Rev
Hard
81 solves
8
shiragishiragi
Guess IP
Misc
Easy🌱
130 solves
9
nozokare
A Piece of DHKE
Crypto
Medium
80 solves
10
shiragishiragi
chmod-swapper
Misc
Medium
79 solves
11
tchentchen
Alpaca Certification
Web
Easy🌱
145 solves
12
rsk0315
Floating Equality
Misc
Medium
89 solves
13
pppp4649pppp4649
Elliptic Equation
Crypto
Hard
57 solves
14
tchentchen
CAuth
Web
Hard
61 solves
15
minaminaominaminao
SITE/2
Web
Easy🌱
109 solves
16
tan90909090tan90909090
Xored PNG
Misc
Medium
81 solves
17
tchentchen
Looks like Alpacahack
Web
Medium
71 solves
18
shiragishiragi
Catrunner 2
Misc
Easy🌱
83 solves
19
minaminaominaminao
Flag Printer 20XX
Misc
Medium
19 solves
20
nozokare
Planned topicRNG
Crypto
Hard
21
Planned topicHeap
Pwn
Hard
22
Planned topicSecret Sharing
Crypto
Easy🌱
23
Planned topicNginx
Web
Medium
24
Coming soon
26
Coming soon
28
Planned topicTBA
Pwn
Hard
29
Coming soon
30
Coming soon
2
Coming soon
3
Coming soon
4
Coming soon
5
Coming soon

Want a harder challenge?

Go to B-SIDE

Writeups

Daily AlpacaHackに挑戦するつくよみちゃん 06/18/Catrunner 2/shiragi

tsukuyomi-chan

ja
Catrunner 2

3 hours ago

nirvana

Writeup for Looks like Alpacahack

Daily AlpacaHackに挑戦するつくよみちゃん 06/17/Looks like Alpacahack/tchen

tadanobutubutu

Writeup for Xored PNG

ja

2026/06/16 17:17

Daily AlpacaHackに挑戦するつくよみちゃん 06/16/Xored PNG/tan90909090

ja

2026/06/16 17:06

tadanobutubutu

Writeup for SITE/2

ja

2026/06/16 10:33

nirvana

Writeup for SITE/2

ja

2026/06/15 21:55

Rows:

Flag Printer 20XX

Topic: PythonReleased: Jun 19, 2026

19 solves
Misc
Medium

by

minaminao

minaminao

Flag Printer 2026 - timeout + arbitrary 1-byte write

NOTE: You don't need to solve Flag Printer 2026 first.

Beginner Hint 1 (AI-translated)
  • In this challenge, the flag is printed one character at a time, only for the length of Alpaca{. In other words, only Alpaca{ is printed.
  • However, you can operate on /proc/self/mem before the output happens.
  • /proc/self/mem is one of the files in the process filesystem, and it refers to the current process's own virtual memory.
  • It is usually used by checking valid memory ranges with /proc/self/maps, seeking to one of those addresses, and then reading from it.
  • In this challenge, you can use this /proc/self/mem mechanism to write an arbitrary 1 byte to an arbitrary address.
  • Also, id(0) is printed as a hint, so you can find the address of 0.
  • How can you print the flag?
Beginner Hint 2 (AI-translated)
  • This loop uses various integer objects internally, including i.
  • First, check how integer objects are laid out in memory.
  • Then, investigate how values are stored in integer objects.
  • Also, try rewriting a suitable integer object and see how the script's behavior changes.
flag-printer-20xx.tar.gz

Please sign in to submit the flag.

descriptionsolves