Root Me Exercise 2

For the next exercise, I tried to do the Javascript-Authentication challenge from root me

When i started the challenge, it redirected me to a login page with input for a username and password

First, i tried just logging in without inputting any data and there was a notification saying that the password was wrong

Next, i tried to inspect the code of the page by pressing the control key, the shift key, and the i key together.

From inspecting, i found out that it uses a login.js, so i also checked the code for the login.js

Opening the login.js file revealed a function called login that reveals if psuedo which is the username text box is “4dm1n” and if the password is “sh.org”, it will accept it as a login.

 

Leave a Reply

Your email address will not be published. Required fields are marked *