WE02
Last updated
Was this helpful?
Last updated
Was this helpful?
Type
Difficulty
Web
Easy
The second challenge is web application that having a login form.
If we take a look at the source code of the website we will find interested JavaScript code:
Their is two JavaScript codes one is Hex encoded the second at the bottom is the interesting JS code, because it checks for the username and the password.
By looking at the JS script it appears that the password is stored on the value d
.
We can get the actual password by printing value of d
. We can do that by many ways such as using web console to write the JS script and print d
value. Here I used online JS editor, I copied the JavaScript code and typed document.write(d);
to print d value and I got the password.
By submitting the valid credentials finally we will get the flag.
Flag: aNicESimpLEFORM6-3_211