codinghard

Enclose blzh

spbctf

Task: Grid puzzle game where walls are placed to enclose a hedgehog, solving 10 levels within 60 seconds with a wall budget constraint. Solution: Exploit a TOCTOU race condition in the API to place budget+1 walls, combined with region growing/shrinking and simulated annealing heuristics for optimal wall placement.

$ ls tags/ techniques/
toctou_race_conditionregion_growingregion_shrinkingsimulated_annealingbarrier_synchronization

🔒

Permission denied (requires tier.pro)

Sign in to access full writeups

Create a free account with GitHub, then upgrade to Pro.

$ssh [email protected]