We need oxygen

From Pessin randon wiki
Revision as of 09:25, 16 September 2022 by Exf (talk | contribs) (Solution 2)

Description

You get access to the Intensive Care Ward, where the situation is chaotic. A number of patients are suffering, because the central oxygen delivery system is malfunctioning. IT-technician is losing his mind, because he is stuck with the following system which should deliver oxygen to patients. You offer your help.

50 p

Question

Turn ON oxygen to all rooms. The oxygen control system is located at: http://target04.i1.cybexer.io

Solution

Solution 1

Open the link in a new tab. Right click on the slider element witch won't change status on clicking, then "Inspect". Local source code with the following line: <input type="checkbox" id="check0" name="pump" disabled="">

Right click "Edit as HTML" on that line. Remove disabled="" from code. The code should now read <input type="checkbox" id="check0" name="pump">

Repeat steps for the next 3 sliders. You should now be able to toggle the Admin sliders to on and update settings. The flag is shown as a pop-up message

Solution 2

Explore the source file for some interesting looking javascript code. You will find a obfuscated source file at the end of the source file. In that source file, a table catches your eye with some clearly Base64 encoded information. By decoding this data, you get a flag directly.

We need oxygen javascript

Tools

Flag

ctftech{cb002044-109b}