Home IceCTF-2018 Ligths out
Writeup
Cancel

Ligths out

Challenge

Help! We’re scared of the dark!

https://static.icec.tf/lights_out

Solution

We see a black page

with source:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
<!doctype html>
<html>
    <head>
        <meta charset="utf-8" />
        <title>Lights out!</title>
        <link rel="stylesheet" href="main.css" />
    </head>
    <body>
        <div class="alert alert-danger">Who turned out the lights?!?!</div>
        <summary>
        <div class="clearfix">
            <i data-hide="true"></i>
            <strong data-show="true">
            <small></small>
            </strong>
            <small></small>
        </div>
        </summary>
    </body>
</html>

Some fiddling with the css yields the flag

Flag

1
IceCTF{styles_turned_the_lights}

Flag

IceCTF{styles_turned_the_lights}