| The making of this site is in progress,do check it once in a week for new material. |
I am feeling lucky today, so why not try entering some numbers to see what happens.The first number that came up to my mind was not surprisingly - 12345678 - Try again.Next 12345679 and wow I'm right there at the congratulatios page.Does this mean I did it,yeah who cares how.Anyway here's a little explanation of this crackme. Pressing the buttons from 1 to 9 we trigger the Enter_code() function,which evaluates the variable mul based on the numbers we enter untill we have pressed 8 buttons.So when digit==8 we are right there at the part of the code that cheks if we are good or bad.
if (mul==45360)
{
location=hash+".htm"
}
else
{
.......
}
So mul must have the value of 45360 to get to the congratulation
page.So when we enter 12345679 mul is 45360.
<html>
<body>
<script>
var hash=0
var mul=1
var numbers=new Array(8);
numbers="12345679";
function Enter_code(number)
{
hash=hash*10+number
mul=mul*number
}
for(i=0;i<8;i++)
{ Enter_code(numbers[i])
document.writeln(mul);
}
</script>
<body>
You can change the variable numbers to something else in the above code and see if your luck
is working, as there are other combinations as Sandmans says that will
take you to a congratulatins page.
I'm pretty sure that a routine that can get to numbers based on mul can be done.
However I'm up to the next crackme.