This mission is really simple. After checking out the source code you will come to know it.
RawrRawr = "moo"; function check(x) { "+RawrRawr+" == "hack_this_site" if (x == ""+RawrRawr+"") { alert("Rawr! win!"); window.location = "../../../missions/javascript/4 /?lvl_password="+x; } else { alert("Rawr, nope, try again!"); } }
In the first line, variable RawrRawr
has the value ‘moo’. Then in the function there is a weird command "+RawrRawr+" == "hack_this_site"
, which is just to confuse you, so don’t worry. And you will also find that, like every other mission by now, this one also takes the value entered and passes it to function check and compares it with RawrRawr
which still has the value ‘moo’.