Time for a math test. This time faith is aiming to test our math skills. Let’s see, what she has got for us.
var foo = 5 + 6 * 7 var bar = foo % 8 var moo = bar * 2 var rar = moo / 3 function check(x) { if (x.length == moo) { alert("win!"); window.location += "?lvl_password="+x; } else { alert("fail D:"); } }
After checking out the source code, you can see that the length of the word you will enter is passed to function check which is then compared to moo. So, we just find out moo.
Continue reading “HACKTHISSITE.ORG | Javascript Mission 3: Math time!”