- We can perform only one game action per day
- We can perform a game action only on days 1/256, 2/256, 3/256, 4/256 and 5/256 (5 days total)
- Each game action makes the game progress by 1 day
- We need to perform 6 actions to complete our quests

Key Insight
- We can overflow the game's day counter to make the season start from day 1/256 again. We now have 5 (or infinite) extra days to complete our quests.

Original writeup (https://github.com/kgeorgiou/ctf-writeups/blob/master/fbctf2019/osquery_game.md).
PNillJune 4, 2019, 4:11 p.m.

Nice write up, I didn't realize the day counter was able to be overflowed looks like there's about 6 ways to complete it.

The method I used in my writeup was just planting the seed first instead of wasting the initial select getting the data about the farm.