│ Category: Pwn
│ Author: Imattas aka Zemi
│ Flag: byuctf{0v3rwr1t1ng_t00??_3e2d88}
│ Source Path: pwn/hextoint
────────────────────────────────────────────────────────────────────────────────
--[ Challenge Description ]--
-- text --
Okay, I vibe coded a hex converter... but I ran out of tokens after 0xff, so you can just add the correct conversions as you find them and I'll fill the rest in after my token limit refreshes tomorrow. And best part, it'll only be $20/month for the subscription after it's out of beta!!
Files:
- [hex_to_int2](https://github.com/BYU-CSA/BYUCTF-2026/blob/main/pwn/hextoint/dist/hex_to_int2)
────────────────────────────────────────────────────────────────────────────────
--[ Provided Materials ]--
- Repository folder
https://github.com/BYU-CSA/BYUCTF-2026/tree/main/pwn/hextoint
- pwn/hextoint/README.md
https://github.com/BYU-CSA/BYUCTF-2026/blob/main/pwn/hextoint/README.md
- pwn/hextoint/main.c
https://github.com/BYU-CSA/BYUCTF-2026/blob/main/pwn/hextoint/main.c
- pwn/hextoint/solve.py
https://github.com/BYU-CSA/BYUCTF-2026/blob/main/pwn/hextoint/solve.py
────────────────────────────────────────────────────────────────────────────────
--[ Recon / Initial Analysis ]--
This page imports the BYUCTF 2026 source material for the Pwn challenge Hex to
Int. The prompt is kept separate from the solve notes, and upstream artifacts
are linked so the challenge can be replayed from the original repository.
────────────────────────────────────────────────────────────────────────────────
--[ Vulnerability / Observation ]--
The useful observation comes from the imported solve notes below. I kept the
original technical path intact while normalizing the page metadata, challenge
grouping, and author attribution for the Volume 2 writeup archive.
────────────────────────────────────────────────────────────────────────────────
--[ Exploitation / Solution ]--
Source: pwn/hextoint/README.md
https://github.com/BYU-CSA/BYUCTF-2026/blob/main/pwn/hextoint/README.md
Under-index to overwrite GOT for exit to win
Flag: byuctf{0v3rwr1t1ng_t00??_3e2d88}
────────────────────────────────────────────────────────────────────────────────
--[ Full Exploit Script ]--
- pwn/hextoint/main.c
https://github.com/BYU-CSA/BYUCTF-2026/blob/main/pwn/hextoint/main.c
- pwn/hextoint/solve.py
https://github.com/BYU-CSA/BYUCTF-2026/blob/main/pwn/hextoint/solve.py
────────────────────────────────────────────────────────────────────────────────
--[ Key Takeaways ]--
- The BYUCTF 2026 challenge material is preserved with local archive formatting.
- The page author is normalized to Imattas aka Zemi.
- The source repository remains linked for handouts, services, and solve
artifacts.