Skip to content

Instantly share code, notes, and snippets.

@minaminao
Last active December 1, 2025 15:14
Show Gist options
  • Select an option

  • Save minaminao/06b834e0b1aaf6de5a70e9955d6687ba to your computer and use it in GitHub Desktop.

Select an option

Save minaminao/06b834e0b1aaf6de5a70e9955d6687ba to your computer and use it in GitHub Desktop.

Writeup for AlpacaHack 2100

image

問題文には、

🦙 < フラグは Daily AlpacaHack の 2100年1月 のカレンダーにあるパカ

と書いてあるので、2100年1月のカレンダーを見に行きましょう。

Daily AlpacaHack のカレンダーは「次の月」ボタンを押せば、次の月に進めます。

image

単純にこのボタンを約75年分、つまり900回くらい押し続けていけばひとまずは解けそうですが、何かしらの病気になりそうです。

何か効率的に解く方法はないでしょうか?

ここでボタンの遷移先のURLを見ると、 https://alpacahack.com/daily?month=2026-01 のようになっています。 実際、押すとそのページに遷移します。

どうやら month に指定された年月のカレンダーが表示されるようです。

では、このクエリ文字列 month=2026-01month=2100-01 に変えてみるとどうでしょうか?

実際飛んでみると、2100年1月のカレンダーが表示され、11日から17日にフラグが細切れに配置されていました。

image

これらを結合するとフラグです。これで健康的に解けました。

Flag: Alpaca{brought_AGI_to_humanity..._yes,_Alpaca_Gentle_Intelligence.}

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment