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

/190

No solved challenges yet.

Sign In to view your player stats

Today's Challenge
shiragishiragi
Guess IP
Misc
Easy🌱
78 solves
Submissions (latest 3)
will

SOLVED!

Jun 8, 9:57 AM

kakur41

SOLVED!

Jun 8, 9:00 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🌱
1,863 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🌱
186 solves
2
minaminaominaminao
Cache Me If You Can
Web
Easy🌱
153 solves
3
minaminaominaminao
vm1
Misc
Medium
87 solves
4
pppp4649pppp4649
Small e
Crypto
Easy🌱
102 solves
5
minaminaominaminao
RPS GAME
Misc
Crypto
Medium
83 solves
6
nozokare
Flag for localhost
Web
Easy🌱
107 solves
7
tan90909090tan90909090
C++ flag checker
Rev
Hard
70 solves
8
shiragishiragi
Guess IP
Misc
Easy🌱
78 solves
9
nozokare
Planned topicDiffie–Hellman
Crypto
Medium
10
Planned topicFile Permission
Misc
Medium
11
Planned topicHTTPS
Web
Easy🌱
13
Planned topicElliptic Curve
Crypto
Medium
14
Planned topicJSON
Web
Hard
15
Coming soon
16
Coming soon
17
Coming soon
18
Coming soon
19
Coming soon
20
Coming soon
21
Planned topicHeap
Pwn
Hard
22
Coming soon
23
Coming soon
24
Coming soon
25
Coming soon
26
Coming soon
27
Coming soon
28
Planned topicTBA
Pwn
Hard
29
Coming soon
30
Coming soon
1
Coming soon
2
Coming soon
3
Coming soon
4
Coming soon
5
Coming soon

Want a harder challenge?

Go to B-SIDE

Writeups

Writeup for C++ flag checker

goroshirow

ja
C++ flag checker

18 hours ago

tadanobutubutu

Writeup for C++ flag checker

Daily AlpacaHackに挑戦するつくよみちゃん 06/04/Small e/pppp4649, 06/05/RPS GAME/minaminao

ja

2026/06/07 08:50

Daily AlpacaHackに挑戦するつくよみちゃん 06/04/Small e/pppp4649, 06/05/RPS GAME/minaminao

ja

2026/06/07 08:50

nirvana

Writeup for Flag for localhost

ja

2026/06/07 00:49

tadanobutubutu

Writeup for Flag for localhost

tadanobutubutu

Writeup for RPS GAME

ja

2026/06/06 09:45

nitcelcius

Writeup for RPS GAME

ja

2026/06/06 02:34

nirvana

Writeup for RPS GAME

ja

2026/06/06 00:20

minaminao

Writeup for RPS GAME

author
ja

2026/06/05 17:07

Rows:

Integer Writer

Topic: Out-of-Bounds WriteReleased: Dec 5, 2025

356 solves
Pwn
Hard

by

mora

mora

If the return address gets overwritten by accident, you could even spawn a shell... but this program is totally safe, right?

Beginner Hint (AI-translated)
  • This challenge is in the Pwn category, specifically Pwnable (Binary Exploitation).
  • Its difficulty is Hard. It is harder than the previous Easy and Medium challenges, so especially if Daily AlpacaHack is your first exposure to CTF, solving it entirely on your own will likely be difficult.
  • If you get stuck, we recommend making good use of AI as needed to find a starting point for the solution.
  • Pwn can seem difficult for beginners, but it is an exciting category where you can enjoy low-level computer behavior, so please give it a try.
  • Even if you cannot solve it, check other players' solutions, called writeups, after the challenge ends and review them.
  • 24 hours after the challenge is released, a writeup tab will be added to the list of tabs below.
  • In this challenge's attachment, you are given the C source code main.c and the compiled binary chal.
  • This program accepts pos and val inputs from the player.
  • The goal is to execute the win function in the remote environment and spawn a shell.
  • If you send appropriate pos and val values, you can call the win function, so find such values.
  • Connect to the remote environment with the nc command.
  • Once you get a shell, read flag.txt and obtain the flag.
integer-writer.tar.gz

Please sign in to submit the flag.

descriptionsolveswriteupsupdates