$ cat writeup.md…
$ cat writeup.md…
sunshinectf2026
Task: a Microsoft Keyboard Layout Creator (.klc) file encodes one ASCII char and one arrow glyph per key across three keyboard rows, with the ASCII chars scrambled. Solution: map keys to a physical QWERTY grid, treat arrow glyphs as movement directions, and walk the trail from the start key to the stop marker, collecting ASCII chars in visit order to reconstruct the flag.
$ cat /etc/rate-limit
Rate limit reached (20 reads/hour per IP). Showing preview only — full content returns at the next hour roll-over.
im lost, but you can find the way!
English summary: A single small ASCII file suntrail.klc (a Microsoft Keyboard Layout Creator source file) is provided. The flag is hidden in the layout data and must be recovered by following a "trail" through the keyboard.
The .klc file uses the standard KLC structure: a KBD header, a SHIFTSTATE block declaring states 0/1/2, and a LAYOUT block. Each key row has the format:
scancode VK cap shiftstate0 shiftstate1 shiftstate2
Only three physical keyboard rows are populated (plus SPACE):
Q W E R TA S D F G HZ X C V B NTwo columns carry the payload:
shiftstate0) is a Unicode codepoint for an arrow glyph:
2198 = ↘2192 = →2196 = ↖25a0 = ■ (stop / terminal marker)shiftstate1) is a single ASCII character codepoint (e.g. 0073='s', 007b='{', 007d='}').Reading the ASCII chars in key order (Q,W,E,...) yields a scrambled string that is clearly not a flag. The description hint — "im lost, but you can find the way" — plus the arrow glyphs point to a path-walking puzzle: the arrows form a route across the physical keyboard, and the flag is the sequence of ASCII chars visited in trail order, not key order.
Key observations that pin the mechanic:
25a0) stop marker (H, which holds }) — the terminator of the walk.sun{ fragments and a }, consistent with a sun{...} flag once ordered correctly....
$ grep --similar