in this challenge, i saw the js in the frontend and run it from the console in order to find the user and the pass. you can find the code here: [WithStyle.js]
var pass = new Array("0x55","0x52","0x54","0x48","0x45","0x4D","0x41","0x4E");
var user="",Pass="";
user += key.charAt(0);
user += key.charAt(5);
user += key.charAt(3);
user += key.charAt(4);
user += key.charAt(7);
user += key.charAt(1);
user += key.charAt(2);
user += key.charAt(6);
for(i=0;i<pass.length;i++)
{
pass[i] = parseInt(pass[i]);
pass[i] = String.fromCharCode(pass[i]);
}
pass = pass.join("");
var pass = new Array("0x55","0x52","0x54","0x48","0x45","0x4D","0x41","0x4E");
var user="",Pass="";
user += key.charAt(0);
user += key.charAt(5);
user += key.charAt(3);
user += key.charAt(4);
user += key.charAt(7);
user += key.charAt(1);
user += key.charAt(2);
user += key.charAt(6);
for(i=0;i<pass.length;i++)
{
pass[i] = parseInt(pass[i]);
pass[i] = String.fromCharCode(pass[i]);
}
pass = pass.join("");
console.log("username is: " + user)
console.log("password is: " + pass)
then, the user is 1r73se3u and pass is URTHEMAN
Flag: 7EA7 MAN'1 HAN7