Javascript - Authentication

The form asks us to input the username and password.

Let's check the source code by going to More tools > Developer tools > Elements.

We can see that the <input> elements have the names pseudo and password.

If we go to the Sources tab we can see the files and resources that are being accessed.

Let's check the login.js file.

So the script has a conditional statement that allows login if the username is 4dm1n and the password is sh.org.

Password

sh.org

Last updated