Calculator CTF
sugarfi (466)

This is a simple CTF I made. The goal is to find the flag, which is hidden in the file flag.txt. The program runs a vulnerable web app. This CTF will test your skills in basic JS and XSS. No cheating and looking at the source code!

You are viewing a single comment. View All
MrEconomical (2117)

incredible idea! however, I couldn't solve it because I just shut down the repl xd but I figured out how to

sugarfi (466)

@MrEconomical oof, i should probably add a try-catch or something

sugarfi (466)

@MrEconomical now you can't do that anymore

sugarfi (466)

@MrEconomical how? i wrapped it in a try-catch block.

sugarfi (466)

@MrEconomical that's cheating! ok. Did you manage to get the flag?

sugarfi (466)

@MrEconomical but it takes literally one line...

AmazingMech2418 (488)

@MrEconomical Wow! It really does work! By the way @sugarfi , I broke the repl... Don't worry though, I didn't change the contents of it besides the flag.txt file...