~$ Advent of Cyber 2022 - Day 10
Question 1
What is the Guard's flag?
First we prompt the guard.
![Screenshot of one of the game's input modals.](assets/images/walkthrough/thm/aoc-2022/day10/1.1.png)
We then search any register that was equal to the number provided.
![Screenshot of the memory search system.](assets/images/walkthrough/thm/aoc-2022/day10/1.2.png)
Once we have the register we bookmark it.
![Screenshot of a newly bookmarked register.](assets/images/walkthrough/thm/aoc-2022/day10/1.3.png)
We re-prompt the guard, check the value in the register, throw as-is in python, and it spits out the decimal version.
![Screenshot of Python converting an integer.](assets/images/walkthrough/thm/aoc-2022/day10/1.4.png)
We enter this version:
![Screenshot of one of the game's input modals.](assets/images/walkthrough/thm/aoc-2022/day10/1.5.png)
The guard lets us through.
![Screenshot of an in-game NPC interaction.](assets/images/walkthrough/thm/aoc-2022/day10/1.6.png)
We interact again to obtain the flag:
![Screenshot of an in-game NPC interaction.](assets/images/walkthrough/thm/aoc-2022/day10/1.7.png)
Answer: THM{5_star_Fl4gzzz}
Question 2
What is the Yeti's flag?
This time around we just look at decreasing registers.
![A screenshot of register search.](assets/images/walkthrough/thm/aoc-2022/day10/2.1.png)
Once we iterate, we have an arbitrarily small amount of registers.
![A screenshot of register search.](assets/images/walkthrough/thm/aoc-2022/day10/2.2.png)
We freeze it at 100.
![A screenshot of register search.](assets/images/walkthrough/thm/aoc-2022/day10/2.3.png)
We survive.
![Screenshot of the game.](assets/images/walkthrough/thm/aoc-2022/day10/2.4.png)
The Yeti gives us the flag:
![Screenshot of an in-game NPC interaction.](assets/images/walkthrough/thm/aoc-2022/day10/2.5.png)
Answer: THM{yetiyetiyetiflagflagflag}