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

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

Imgur

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

we click the button

Imgur

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

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

command and we have the flag

Imgur

Flag=actf{you_would_n0t_beli3ve_your_eyes}

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