WiCYS CyberStart (Barcelona) Challenge 2

Briefing L03 C02

Maths at Light Speed

Intern, I hope you know how to use a calculator? Of course you do. So, in theory you should be able to bypass a security gateway to a warehouse we believe holds clues to the whereabouts of a gang we are in hot pursuit of. The thing is, the gateway was created by someone who loves doing everything super fast! That means you only get 0.1 seconds to answer the question asked by the gateway. Can you find a way around it?

Tip: Bypass the calculator lock to get the flag.

We find this cool calculator when proceeding to the challenge.

The downside is that it locks out the answer submission area before we can perform lightning-speed calculations, to answer the question.

Since the calculator is dynamic, it would be wise to see the source code working in action

This is how the Javascript looks before clicking on the ‘Spin for question’ button

After — Look how the action parameter is empty


Click on the ‘Spin for question’ button and then right-click, to open the Inspect option

Let’s try putting the /flash fast/answer value back to the action parameter

Left-click to save the changes

On my screen, I have the values ‘45992’ and ‘30911’ and have the blue dot highlighted against the addition sign. This indicates that the addition operation must be performed

The sum is 76903

Click to submit the answer and capture the flag!

Flag — b3NqEDBNz3MksjSMVsVe

1800 points on the board.Onward to the next challenge!



Get the Medium app

A button that says 'Download on the App Store', and if clicked it will lead you to the iOS App store
A button that says 'Get it on, Google Play', and if clicked it will lead you to the Google Play store