Tags: re 

Rating: 5.0

X-MAS: Lapland Mission

2_title

The game is written in Unity Engine. We asked to kill all robots to get the flag, but robots instantly kill us when get in their FOV.

2_game

2_death

Solution:

In Unity, every game class is stored in "Data\Managed\Assembly-CSharp.dll". Let's open it in dnSpy.

2_disas

Let's open Bot class and change Shoot method for this:

bot

To this:

2_patched

Now bots can't kill us and we can easily get the flag:)

2_bots_cantkill

2_flag

Original writeup (https://github.com/archercreat/CTF-Writeups/blob/master/X-MAS%20CTF/Lapland%20Mission/README.md).