Terms and Conditions
Web Challenge
Welcome to LA CTF 2024! All you have to do is accept the terms and conditions and you get a flag!
To press the accept button in step 1, you need to resize the screen so that it will let you open the inspection panel (there is a specific size that will trigger the "NO CONSOLE ALLOWED")

This code checks if the height of the browser window (window.innerHeight
) is not equal to the variable height
, or if the width of the browser window (window.innerWidth
) is not equal to the variable width
. If either of these conditions is true, the code inside the curly braces will be executed.

Once you manage to do so, grab the button's ID—in this case, it is "accept." Go to the console and click the button with this command. accept.click()
lactf{that_button_was_definitely_not_one_of_the_terms}
Last updated