Tags: misc 

Rating:

```py
array = [] # Replace with the huge 2-D array
x = []

isEven = lambda x: x % 2 == 0

for j in range(1, len(array)-1):
for i in range(1, len(array[j])-1):
if isEven(array[j][i+1]) and isEven(array[j][i-1]) and isEven(array[j+1][i]) and isEven(array[j-1][i]) \
and isEven(array[j+1][i+1]) and isEven(array[j-1][i-1]) and isEven(array[j-1][i+1]) and isEven(array[j+1][i-1]):
x.append(array[j][i])

print('darkCTF{' + ''.join(map(chr, x))[::-1].replace('FLaGIS', '') + '}')
```

Original writeup (https://github.com/csivitu/CTF-Write-ups/blob/master/DarkCTF%202020/Misc/Minesweeper/exploit.py).