HACKTHISSITE.ORG | Javascript Mission 4: Var?

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’.

Continue reading “HACKTHISSITE.ORG | Javascript Mission 4: Var?”

HACKTHISSITE.ORG | Javascript Mission 3: Math time!

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!”

HACKTHISSITE.ORG | Javascript Mission 2: Disable Javascript

In this level we need to disable the javascript to login and solve the mission. In the intro it is told that faith has setup a javascript redirection, that logs out the user to keep the hackers away.

faith had made a redirect script and logout with javascript to keep hackers away

In order to move further, disable javascript in your browser. Firefox users can disable it from Tools-> Options -> Content-> And uncheck the Enable javascript box.

Continue reading “HACKTHISSITE.ORG | Javascript Mission 2: Disable Javascript”

HACKTHISSITE.ORG | Javascript Mission 1: Idiot Test

Javascript with its wide scope in web development and intensive use is turning out to be a key to hack for the hackers because of its vulnerability. But here I will not discuss about javascript, what it is and how it works however here in these missions we will not be doing javascript injections, but will only analyze the code and workout.

The intro:

Continue reading “HACKTHISSITE.ORG | Javascript Mission 1: Idiot Test”

HACKTHISSITE.ORG | Basic 11: Is there a solution even?

This mission is known as one of the very unsolvable missions throughout the Hackthissite’s forum. Many have tried to solve it by searching hints and using them, but this mission still is a mystery for most of them. The very beginning intro of this mission can be blamed for this, as it points us in unknown direction.

Sam decided to make a music site. Unfortunately he does not understand Apache. This mission is a bit harder than the other basics.

Now, when we open the mission all we receive are some similar messages like these, every time we refresh the page a new line shows up.

Continue reading “HACKTHISSITE.ORG | Basic 11: Is there a solution even?”