Post

HTML - disabled buttons

Description

HTML protection?

Statement

This form is disabled and can not be used. It’s up to you to find a way to use it.

Analyzation

This is HTML code of the site:

1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
<html>
    <head>
        <title>Under construction</title>
        <link rel='stylesheet' property='stylesheet' type='text/css' href='style.css' media='all' />
    </head>
   <body><link rel='stylesheet' property='stylesheet' id='s' type='text/css' href='/template/s.css' media='all' /><iframe id='iframe' src='https://www.root-me.org/?page=externe_header'></iframe>
        <h1>Website temporarily closed.</h1>
        <hr>

        <form action="" method="post" name="authform">
            <div>
                <input disabled type="text" name="auth-login" value="" />
                <input disabled type="submit" value="Member access" name="authbutton" />
            </div>
        </form>
            </body>
</html>

Let’s check these lines:

1
2
<input disabled type="text" name="auth-login" value="" />
<input disabled type="submit" value="Member access" name="authbutton" />

Solution

Open the inspect mode on the browser, delete disable, and the submit button is able again.
Submit anything to the web, and you will have the flag.

The flag is:

1
HTMLCantStopYou
This post is licensed under CC BY 4.0 by the author.