Rating: 5.0

# Consolation
**50 Points**

In this challenge we have button that when you click it the money appearing on screen keeps increasing.

![Imgur](https://i.imgur.com/DyLPgwG.png)

but when you open the console you see that the app cleared it

![Imgur](https://i.imgur.com/Pc3QMgu.png)

viewing the source code we see that nofret function gets called when

we click the button

![Imgur](https://i.imgur.com/ry45FhQ.png)

we view the js code to see what does this function do and it's kinda

obfuscated but wee see that it does something and then clears the

console

![Imgur](https://i.imgur.com/1ThDFqz.png)

so we just execute it in the console but without the clear console

command and we have the flag

![Imgur](https://i.imgur.com/7JRQsQU.png)

**Flag=actf{you\_would\_n0t\_beli3ve\_your\_eyes}**

Original writeup (https://github.com/zhassan6992/angstromCTF2020-writeup/tree/master/web/Consolation).