AlpacaHack Logo
Sign InSign Up
Daily AlpacaHack

A CTF challenge series with fun puzzles to enjoy every day

What is Daily AlpacaHack?

We regularly publish simple, beginner-friendly or educational CTF challenges!

Join Anytime

Solve each challenge within its time window 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 the challenge period has ended.

Solve stats

0

/1

No solved challenges yet.

Sign In to view your player stats

Today's Challenge
admin
Baby Alpaca
Misc
Welcome🌱
38 solves
Submissions (latest 3)
mamonbo

SOLVED!

Oct 1, 3:17 AM

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🌱
2,235 solves
Upcoming challenges reveal the , , and in advance.
Prev

Oct 2026

Next
Solved
Unsolved
Upcoming
Mon
Tue
Wed
Thu
Fri
Sat
Sun
 
k0080k0080
what is my pointer 2
Pwn
Hard
37 solves
1
admin
Baby Alpaca
Misc
Welcome🌱
38 solves
2
tan90909090tan90909090
Planned topic.NET
Rev
Easy🌱
3
Coming soon
4
Coming soon
5
Coming soon
6
Coming soon
7
Coming soon
8
Coming soon
9
Coming soon
10
Coming soon
11
Coming soon
12
Coming soon
13
Coming soon
14
Coming soon
15
Coming soon
16
Coming soon
17
Coming soon
18
Coming soon
19
Coming soon
20
Coming soon
21
Coming soon
22
Coming soon
23
Coming soon
24
Coming soon
25
Coming soon
26
Coming soon
27
Coming soon
28
Coming soon
29
Coming soon
30
Coming soon
31
Coming soon
1
Coming soon

Want a harder challenge?

Go to B-SIDE

Writeups

Writeup for what is my pointer 2

lumma

ja
what is my pointer 2

5 hours ago

nirvana

Writeup for what is my pointer 2

michikusamichiya

[AlpacaHack] Flag is A + B

michikusamichiya

[AlpacaHack] typhoon-python writeup

gattoartz

Writeup for base 16-32-64

ja

2026/09/26 23:00

Rows:

xorshift521

Topic: RNGReleased: Jun 20, 2026

59 solves
Crypto
Hard8.5

by

nozokare

The galactic flag checker determines whether an input string is the correct flag in finite time!

Beginner Hint 1
  • To solve this problem, it seems necessary to calculate the result of applying the next function to state=521 for (521**521)**521 times.
  • However, performing this calculation simply would take far too long, so some ingenuity is required.
  • Is there another way to calculate what the function is computing?
Beginner Hint 2
  • Think of an n-bit integer as an n-dimensional vector over GF(2). (GF(2) = Z/2Z is the field consisting of {0, 1}.)
  • The next function consists of a combination of bit shifts and XOR, forming a linear transformation from GF(2)^n to GF(2)^n.
  • This leads us to consider linear algebra over GF(2), and many properties that hold in linear algebra over the real numbers also hold over GF(2).
Beginner Hint 3
  • The next function is a state transition function of a type of pseudorandom number generator called an LFSR.
  • For example, Xorshift32 is an LFSR with a 32-bit internal state.
  • The period of a typical Xorshift32 is 2^32 - 1, and if you start from a state other than 0 and apply the state transition function, it will cycle through 2^32 - 1 states before returning to the initial state.
  • What is the period of the next function?
Beginner Hint: About SageMath
  • I recommend using SageMath to solve this problem.
  • For a short introduction to SageMath, see this short guide.
  • You can call the next function directly from SageMath by importing chal.py.
  • If you copy the code from chal.py, keep in mind that the XOR operator in SageMath is ^^, not ^.
chal.py

Please sign in to submit the flag.

descriptionsolveswriteups