Just Login-Traboda-Web-CTF-Write-up
CHALLENGE DESCRIPTION
Login to the website and one more thing have you heard of clientside validation using javascript??
Flag Format: inctfj{}
Before going into the challenge, let us look what is a ‘client-side validation’…
Client-side validation is an initial check and an important feature of good user experience; by catching invalid data on the client-side, the user can fix it straight away. If it gets to the server and is then rejected, a noticeable delay is caused by a round trip to the server and then back to the client-side to tell the user to fix their data.
We are given the link to login-page of a webpage. Looks like the flag have been hidden inside the webpage. But we don’t know the username and password to sign-in .
When we view the page-source… we will find the file main.js
On opening main.js, we will find some JS code. Inside the code, there we find the username and password.
On login, using the username and password, we will get our 🚩…